The heating will disassemble ammonium nitrate to laughing gas and water.