how do movements along fault generate erthquakes ​