Phase change
In this pattern, solid to liquid to gas, heat is being added in order to provoke the phase change. In the other "direction," gas to liquid to solid, heat is being released through the phase change.