It is very easy
to move molecules apart from each other: we simply allow the gas to expand, which
increases the average separation of the molecules. To cool a gas, therefore, we allow
it to expand without allowing any energy to enter from outside as heat. As the gas
expands, the molecules move apart to fill the available volume, struggling as they do
so against the attraction of their neighbours.