Iraq has seen attacks from both sides of the conflict: Iran and its proxies on the one side and the US on the other.