In some cases, the dead plants don’t become rocks. Under immense heat and pressure, they turn into fossil fuel. Oil and gas come from plants in the Ocean and coal from swamps.
All of this happened 300 million years ago, way before dinosaurs walked around.
Mt. St. Helens
Humans in 1 year
4600 x 10,000,000 t