“Wrath of God” does not mean that God gets so exasperated or furious that he lashes out to punish those who disobey Him. God’s wrath is His forceful interventions to protect His Children, to turn them from danger or brings an end to sin.
Revelation 12 describes War in Heaven in which Satan, the “Dragon”, is cast out of Heaven. This is actually a continuation of the Great Controversy which began when Satan challenged God and accused Him of being unjust. Sin entered this world when Adam and Eve accepted Satan’s accusations.