The forces between the solid particles are strong enough that the particles cannot move. The thermal energy of the molecules is suppressed by the strong intermolecular forces. Gas molecules have enough kinetic energy that the effect of intermolecular forces is compensated and they are far apart from each other.