Answer: Molecules gain or lose energy during any temperature change, not just phase changes.
Step-by-step explanation:
If you think of a heating or cooling curve, even when there isn't a phase change, the kinetic energy of the particles is still changing.