Yep, its the temperature that the liquid starts giving off gasses.
Gasoline has a very low flash point, something like -40 degrees while diesel is relatively high, somewhere around 150 degrees or so if memory serves.
Notice you don't see cars exploding when its over -40 out