The propellant would not ignite until the can ruptured because there is no oxygen in the can for combustion while the can is sealed.
The can ruptured due to the Ideal Gas Law (PV = nRT), just like the keg.
I never said what you suggest; the rupture releases the flammable liquid and a flame front results with hairspray, which adds to the spectacle.