The reaction between Mg (s) and HCl (aq) takes place inside a calorimeter. The thermometer registers an increase in temperature for the solution inside the calorimeter. What change occurs to the chemical potential energy of the Mg (s) and the HCl (aq) in the experiment?