Figuring out how much of what delay is attributable to what reason is an exercise in futility.
Much easier and less stressful either to understand that you may get stuck with a night in a hotel once in a while or, if you want/need to hedge that risk, have a basic travel interruption policy.