This also helps limit the amount of water that can condense on the walls of the gas tank and wind up freezing in the pump or fuel line.
It’s possible modern cars have some countermeasures for this because it has been years since I’ve seen it happen, but an additional (potential) benefit.