What happens when jagged edges of rock plates grind past each other?

This is for a test lmao so

2 answers

Boom
Aka earthquake