Hot material near the core is less dense and rises, when it cools, it becomes more dense and sinks.
Explanation:
This best explains how heat plays a role in the movement of materials within Earth's interior because it's how convection works. Convection is the circular motion that happens when warmer air or liquid which has faster moving molecules, making it less dense rises, while the cooler air or liquid drops down. Convection currents within the earth move layers of magma, and convection in the ocean creates currents.