What is breaking on the shore? The sea foam or the waves?
We watched the sea foam made by the waves breaking on the shore.
English Language Learners Stack Exchange is a question and answer site for speakers of other languages learning English. It only takes a minute to sign up.Sign up to join this community
It's the waves.
Sometimes only context can tell how to parse the sentence. (You have to kind of know beforehand that waves can "break" at a shore, so on.)