I will now drop the Igneous rock that formed from crystallized melted magma
OH NO IT BROKE!
THE END
The erosion caused by rain had brought the rock here and it is now in deposition phase where it is settling in water
All the rocks being pressed together is called compaction
All the rocks being pressed together for so long and caused cementation and it now forms this rock formation of a big clastic rock and that a rock composed of different fragments of rock