Its a really tricky situation right now. Iran and the US even have a common enemy now. Most people in power in Iraq do not want Iran to interfere but with their own army falling apart and the US not helping I don’t see what other choice they have.
Looks like the beginning of a civil war to me.
Alea iacta est ("The die has been cast")