During a phase change the substance or objects temperature increases or decreases depending on which way they go, Solid to liquid to gas needs added heat which makes it an endothermic reaction. Gas to liquid to solid loses heat energy to slow down its particles this is an exothermic reaction.