Remember that:
The specific heat capacities of the solid, liquid, and gaseous phases of the same substance are not the same, and the latent heat of fusion is not the same as the latent heat of vaporization for the same substance.
The intermolecular forces of matter in different phases are different, so different amounts of energy are needed to raise their temperature.
Therefore, the correct answer is B.