When tectonic plates collide?

When tectonic plated collide they create an earthquake. It happens by them colliding and shaking each other forming a big movement.