Is there a relationship between the direction of movement and distribution of earthquakes

Is there a relationship between the direction of movement and distribution of earthquakes? volcanoes? both? neither? Describe and explain.