The commonest cause of earthquakes is the sudden dislocation of rocks along a fault. Sometimes a crustal segment subjected to a stress may flow instead of faulting; thus folds in rock strata result from gradual yielding to a horizontal compression.