Changes in phase from solid to liquid (melting) and from liquid to gas (boiling) require energy. When solid ice melts and becomes a liquid, the particles of the substance move farther apart and heat energy is gained. When water boils, if forms steam (a gas).