Liquid lava cools. It changes into hard rock. Rock is a solid.