The wall collapsed in the earthquake.

Literal

Wall [subject-が] earthquake [with-で] collapsed.

崩れる is 'to collapse/crumble' — an intransitive verb (the wall collapsed on its own). The で marks the earthquake as the cause. A straightforward cause-and-effect sentence.