2 plates slide past each other along a fault (line of weakness), the plates are moving in different directions and different speeds, friction causes plates to lock together, this builds up pressure they suddenly move and pressure is released as an earthquake.