The correct answer is b: Two or more plate boundaries move against each other, producing vibrations and energy waves that travel to the surface.
Earthquakes are primarily caused by the movement of tectonic plates along fault lines, where stress builds up until it's released as seismic energy, causing the ground to shake. The other options describe events that can produce ground shaking or disturbances but are not the main causes of earthquakes.