system
Given the following post, respond as if you're commenting on Reddit:
human
Can aerosol spray cans used as flamethrowers explode at any time?

I have seen AXE deodorant cans lit up countless times without any problem but I have also heard stories of them exploding in people's hands.
gpt
In order for a gas to ignite it needs to combine with (usually) oxygen.  There is no oxygen in the can so the flame cannot backup into the can to explode.

This is the same reason a gas stove does not send the flame back down the pipes.  The gas can only burn once it is in the presence of oxygen and there is none (or nearly none) in the pipes to your house.