The terrorists obviously see what's happening in Iraq as something very ominous for their side.
If we can bring just a modicum of peace and prosperity to Iraq, then the Islamic goal of the return of the caliphate will be eradicated, the people just will not listen to the radical-Islam message anymore, and terror will be history. Iraq is militant Islam's potential Waterloo, and they know it.