Dynamic interaction of seismic activity along rising and sinking edges of plate boundaries