Here's why:
* Lava cooling forms igneous rocks: When lava cools and solidifies, it forms igneous rocks. These rocks are classified as either intrusive (formed underground) or extrusive (formed above ground).
* Sedimentary rocks form from weathering and erosion: Sedimentary rocks are formed from the accumulation and cementation of sediments. These sediments are the products of weathering and erosion of existing rocks (igneous, metamorphic, or even other sedimentary rocks).
Here's a simplified breakdown:
1. Weathering and Erosion: Existing rocks are broken down into smaller pieces by forces like wind, rain, and ice.
2. Transportation: These broken pieces are carried away by water, wind, or ice.
3. Deposition: The sediments eventually settle in a new location, often in layers.
4. Compaction and Cementation: Over time, the weight of overlying sediments compresses the layers and dissolves minerals in the water act as a cement, binding the sediments together, forming sedimentary rock.
Examples of sedimentary rocks include:
* Sandstone
* Limestone
* Shale
* Coal
So, while lava is an important component in the formation of igneous rocks, it plays no direct role in the formation of sedimentary rocks.