Why there is a change in enthalpy in phase transition? I'm asking because enthalpy depends only on temperature: $$\mathrm dH = C_p\,\mathrm dT,$$ and the change in temperature is $\mathrm dT = 0.$