All that was lost on a clueless leader.
If you're a GOP partisan, you think the clueless leader is Obama. But I disagree. I think the clueless leader was Iraq's prime minister, Nouri al-Maliki. He pursued policies that shut out the Sunni population as though there would be no repercussions. That was foolish because the Sunnis had already shown a preference for rebellion over submission.
Now the Iraqi army is deserting its positions without even engaging incoming Sunni forces. They are just running away. al-Maliki wants to declare a state of emergency, but can't get a quorum in the legislative branch to show up. Well, that's what happens when you build your plan on wishful thinking.
I don't know if a different US president could have helped prevent these losses in Iraq. My best guess is that the Iraqi leaders were stubborn in their views that they could do exactly what they wanted, and needn't share power (and spoils), nor make other compromises for the sake of unity. Any other US president also would have failed in negotiating a Status-of-forces agreement and failed to maintain US influence and US-tested moderating policies.
So I don't think Obama is losing Iraq. Nor it is Bush's fault (for a change). Instead I think it's the short-sightedness of leaders in Iraq. Sometimes, there's no saving people from themselves. Actually, most of the time, you can't save people from themselves. Yet we try because sometimes it works. If only we knew when it was hopeless, or, more importantly, when it's worth the effort, expense, and lives.
Extra. Recently I was pointed to this column in National Review. It talks about the likely results of the Status-of-Forces agreement of 2008, worked out between Bush and the Iraqis. So much of what has occurred was predicted then, without any idea of what Obama would
fuck up do as president. It was predictable based on the Iraqis, the Iranians, and the habits of Islamist fighters.