When a gas becomes a liquid, what four things happen?