How is making ice cubes an exothermic reaction?

How is making ice cubes an exothermic reaction?