What happens when the two plates of earth's crust moving in opposite directions slide past one another?

The outermost layer of the earth is fragmented. Each fragment is called a plate. These plates are in continual motion. When they brush past one another, or a plate goes under another due to collision they cause disturbance. This disturbance in the earth’s crust shows up as an earthquake on the surface of the earth.