Iraq is facing a widening array of security threats and economic consequences from the Iran war.