When thermal energy is increased, the change in state is called melting (solid to liquid) or vaporization (liquid to gas), depending on the initial and final states of the substance.