Question: rock formed when magma cools at the earth's surface?
Answer: Magma is molten rock material. As magma cools the elements within the magma combine and crystalize into minerals that form an igneous rock. Magma cools either below the surface or at the surface (magma that reaches the surface is called lava). As magma cools igneous rock is formed.