You’re thinking of gases. In condensed phases energy is just stored as a potential energy coming from the fact that molecules are too close to each other (going left of that minimum en.wikipedia.org/wiki/Lennard-Jones_potential). You don’t have gases under such conditions, they condense