Changes in a material's temperature or state of matter are caused by changes to the internal energy. The energy required by different materials depends on their 'heat capacity' and 'latent heat'.
Part of Combined ScienceParticle model of matter