Put simply for the liquid in the can to become a gas it needs to absorb heat.
This can be seen often in many applications your deodorant spray if you use a lot, furniture polish cans if you clean big tables etc.
Even the gas used on welding machines can show this. I was welding with a big industrial welder and it started to spatter - the professional welder training me just said coffee time. I said but we have to fix it - he said we will "coffee time". Eventually he said look at the gas bottle and it had a big frost ball covering the pressure regulator. Once that melted and it all warmed up it was fine again.
This effect is also used in the expansion valve in refrigeration systems prior to the evaporator.