On the basis of intermolecular forces and thermal energy, explain

On the basis of intermolecular forces and thermal energy, explain why
(i) a solid has rigidity but liquids do not have rigidity?
(ii) gases have high compressibility but liquids and solids have poor compressibility ?

(i) It is because in solids, the intermolecular forces are very strong and predominate over thermal energy but in liquid, these forces are no longer strong enough.
(ii) Because of very weak intermolecular forces and high thermal energy, molecules of gases are far apart. That is why gases are highly compressible.