In an enthalpy diagram, the height represents the enthalpy, so the differece in hight represents the change in enthalpy.
We can think as two states: the ice cream solid and liquid.
For make the ice cream solid, we need to refrigerate them, so we need to decrease the temperature by removing heat from the ice cream.
So, when the ice cream goes from liquid to solid, it is losing energy, so it is losing enthalpy, which makes this process exothermic.
This also means that the melting process is the opposite. It melts when it absorbs heat, so its enthalpy is increasing and the process is endothermic.
So, the ice cream melted has more enthalpy than the solid ice cream, so to make the diagram, we put the melted ice cream higher than the solid ice cream. The process to go from the melted to the solid is exothermic and the process from solid to melted is endothermic, so: