How does a cube of ice transform itself into liquid water?
Heat is released.
Ice being a solid comprises of very closely packed molecules which possess less kinetic energy. Our target is to convert it into the liquid state in which particles are comparatively at a greater distance and have higher kinetic energy. So, heat energy has to be supplied to ice so that the forces of attraction between the particles break and kinetic energy increases.