The dissolution of ammonium nitrate is an endothermic dissolution. This means, the energy required to break the bond of the ammonium nitrate is greater than energy released when bonds are formed within the solution, therefore the ammonium nitrate absorbs energy from the water, thus cooling it.