Basically, when the ice consumes (heat) energy, which allows a transition to occur, melting ice is an endothermic response. The ice cube needs heat to melt, so the process is endothermic. Endothermic ReactionThe products are higher in energy than the reactants in an endothermic reaction. The improvement in enthalpy is thus positive, and the reaction absorbs heat from the surroundings.
Melting, vaporisation and sublimation are all processes of endothermia. They need energy or heat to be applied. Both exothermic processes are reverse processes (freezing, condensation and deposition). This suggests they’re releasing sun.