As the molecules of the two substances rearrange to form a new substance, calcium hydroxide,
they release chemical potential energy (pp. 14-15) which had been stored between them. The released energy makes the atoms and molecules move more quickly, so the temperature rises.