The moat and ramparts could no longer contain the Trojan attack.

The Greeks had not made offerings to the gods when they constructed the defenses.  After Troy had been sacked and many brave warriors had died and the Greek ships had returned home; Zeus and Apollo and Poseidon eroded the earthworks with rain and floods.