Mechanisms of crustal deformation