Because temperature is not a measure of energy, but of random energy, which is a measure of heat. (Strickly speaking, thermal energy, for the pedants.) At absolute zero there is zero random energy, and hence no heat. But still plently of “frozen” energy around in the form of matter.