An ice cube tray full of water is put into a freezer, which energy occurs in the particles in the water as it undergoes a phase change from the liquid to a solid

The energy that occurs in the particles in the water as it undergoes a phase change from liquid to solid is called latent heat of fusion. This energy is used to break the intermolecular bonds between water molecules in the liquid state and form new bonds in the solid state. As a result, the water molecules slow down and arrange themselves in a more ordered structure, forming an ice cube. This process releases heat, which is transferred to the surroundings, thereby causing the freezer to become colder.