process that generates seismic waves in an earthquake