The First Question: The water releases energy which causes the water molecules to have less kinetic and potential energy, changing their configuration from liquid to solid.
The Second: The ice absorbs energy which causes the water molecules to have more kinetic and potential energy, changing their configuration from a solid to a liquid.
Took the test and both were correct.