Igneous rock forms from cooled lava, with granite cooling slowly underground and scoria, pumice, and obsidian cooling quickly above ground. Scoria, pumice, and obsidian are types of igneous rock that cool rapidly on the surface, with pumice forming a glass structure instead of minerals and obsidian having very sharp edges.