the molecules gain more energy and the space between the molecules increases
explanation:
when wax is heated, the molecules of wax gains kinetic energy and move about randomly until the inter molecular forces binding them together is broken and the wax turn into liquid
In the liquid state, the molecules have more free movement, so they spread out and the distances between them increase