What's pictured above, "the Grand Canyon", formed o'er eons because of forces such as wind, rain and flowing water.

Volcanic eruptions were observed many times in our past, expulsing lava into hundreds and thousands degrees Celsius which gradually cooled into igneous rock.

Hawaii (above pic) formed this way as an example.


Related video below: