We’ll just put this bluntly: when you, as a country, do something incredibly stupid from a foreign policy perspective, you open the door for your global critics and adversaries to i) call you out on it publicly, and ii) use your gross incompetence and general disregard for anything that even approximates common sense, to their geopolitical advantage.
And make no mistake, in Syria, Washington, Riyadh, and Doha did something incredibly stupid.