Answer:
Liquids and gases show random movements because of potential and kinetic energy.
It happens when heat is applied to the particles and they gain more potential and kinetic energy and move around faster. With gases, they have the most energy.
If anything doesnt make sense, make sure to message me