Earthquake A has a magnitude of 4.2. Earthquake B has a magnitude of 6.1. Which statement could explain the different magnitudes?
A:The seismic waves caused by earthquake B traveled more slowly

B:The rock that shifted to cause earthquake B was deeper underground

C:The seismic waves caused by earthquake B all traveled in the same direction

D:The rock that shifted to cause earthquake B released more energy