Dear Student,
When the temperature falls the intermolecular space decreases because the intermolecular forces become strong and kinetic energy decrease. As the temperature decreases the kinetic energy cannot overcome intermolecular forces. Hence, the matter become solid as temperature falls.
Regards