When ammonium chloride is dissolved in water, the ammonium ions (NH4+) and chloride ions (Cl-) separate and become surrounded by water molecules. This process, known as hydration, releases energy in the form of heat. As a result, the temperature of the water increases.