The mechanisms through which rocks deform due to stress and strain, leading to the formation of faults and folds.