A) a hypothesis hope it helped :)
Answer:
When an object is heated up, its particles gain more kinetic energy and hence its internal energy increases. A change in state will also result in a change in internal energy.
When an object cools down, heat is withdrawn from it. Hence, the entropy of the object decreases. But the decrease in entropy leads to the transfer of energy to the surrounding.
I hope this helps you! Good luck with school! :D
Solid is most dense then liquid less dense and more fluid then gas is sort of all over the place so probably solid-liquid-gas