Remember, early in Trumps term, a SF operation in Yemen failed because the enemy weren’t surprised. I’m certain someone inside tipped them off to make Trump look bad. The media certainly raised a big stink about it.
It seems the State Department is most of the time at odds with what is best for the United States. It would appear the CIA and the State Department have the same philosophy.