why dose the energy requierd to vhang the state of a luiquid

To change the state of a liquid, such as from a liquid to a solid or from a liquid to a gas, requires energy to break the intermolecular forces holding the molecules together in the liquid state. This energy is known as the heat of fusion for the solidification process and the heat of vaporization for the vaporization process. The amount of energy required depends on the strength of the intermolecular forces in the liquid.