The correct option that describes both p-waves and s-waves is:
Both waves cause earthquakes.
P-waves (primary waves) and S-waves (secondary waves) are both types of seismic waves generated by earthquakes. The other options do not accurately describe both types of waves. For instance, p-waves move the ground in the direction they travel, while s-waves move the ground perpendicular to the direction they travel. Additionally, while these waves can be recorded in some cases related to the ocean (such as tsunamis), they are not exclusively associated with the ocean.