Trenches form at sites where

Aone plate descends beneath another.
Berosion cuts into the continental shelf.
Ctwo plates diverge under the sea.
Dthe tops of undersea volcanoes collapse.