Decrease the temperature
Step-by-step explanation
Freezing, or solidification, is a phase transition in which a liquid turns into a solid when its temperature is lowered to or below its freezing point.
When liquid water loses thermal energy, it undergoes freezing : changing state from a liquid to a solid.
so, the lose of thermal energy means
Decrease the temperature
I hope this helps you