If the earthquake is under or near the ocean, it generates a tsunami .
(the earthquake; is; under or near the ocean) (it; generates; a tsunami)
the earthquake it
is generates
under or near the ocean
a tsunami