what results from tension betweenrock layers?

If the tension changes suddenly = earthquake