When ammonium nitrate is dissolved in water in a glass container, the glass container becomes cold. Is this an endothermic or exothermic reaction? How do you know?

A. It is endothermic; heat energy has been removed from the surroundings, making the container cold.
B. It is endothermic; heat energy has been released to the surroundings, leaving the container cold.
C. It is exothermic; heat energy has been released to the surroundings, leaving the container cold.
D. It is exothermic; heat energy has been removed from the surroundings, making the container cold.