what type of rock is formed as a result of lava cooling quickly
Examples of this rock type include gneiss and marble. Igneous. Igneous rocks are formed when magma (molten rock deep within the earth) cools and hardens. Sometimes the magma cools inside the earth, and other times it erupts onto the surface from volcanoes (in this case, it is called lava).xamples of this rock type include gneiss and marble. Igneous. Igneous rocks are formed when magma (molten rock deep within the earth) cools and hardens. Sometimes the magma cools inside the earth, and other times it erupts onto the surface from volcanoes (in this case, it is called lava).