If if your attack is going well, you are walking into an ambush. Pay attention complacency kills. The enemy only attacks on two occasions when they are ready and when you're not. These are all just keeping a proactive default mindset at all times.
"Murphy's Law" took on a life of it's own in many industries. This part of the list of "Murphy's Laws Of Combat".