Step-by-step explanation:
It is known that before melting ice cream is present in a solid state so, its molecules are much closer due to which it has retained its shape.
But as its molecules absorb energy from the surroundings the they tend to gain kinetic energy. Due to this there will be increase in collision between its particles and they will move apart from each other. As a result, ice cream will start to melt.
Therefore, when ice cream melts and forms a liquid then molecules move away from each other at the molecular level.