Is There An Iraq Precedent To The Failure Of Afghanistan’s Military?

why did both the Afghan and Iraqi security forces fail so poorly in their respective moments of truth in August 2021 and June 2014?