Earthquakes occur when stress in Earth's lithosphere overcomes friction, causing sudden rock movement and energy release along faults & plates.