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

a mountain chain
volcanic formation
subduction
an earthquake

an earthquake