Fact 1: freezing means changing from a liquid into a solid by reducing heat energy. 
Fact 2: When ice freezes, it releases heat energy into the environment.
Ice freezing from liquid to solid releases heat.