Igneous rocks form when molten rock cools and solidifies. Igneous rocks have different textures and this is because the texture is determined by how quickly the rock cools down. The rocks that tend to be near the surface cool faster than the rocks that are not close the the surface.