Answer is: Energy is added to the particles in each change, but boiling requires more energy than melting because the attractions must be completely overcome.
For example, melting point of the water is 0°C and boiling point of the water is 100°C.
While melting, solid water (ice) is changed into liquid water.
While boiling, liquid water is changed into gaseous water (water steam).
Between molecules of water there are hydrogen bonds, which must be brake so water can evaporate.
Hydrogen bond is an electrostatic attraction between two polar groups in which one group has hydrogen atom (H) and another group has highly electronegative atom such as nitrogen (like in this molecule), oxygen (O) or fluorine (F).