Trump (or, rather, those figures who formulate his policy for him) isn't capable of formulating a coherent foreign policy as long as the State apparatus of the American government responsible for executing that policy (CIA, NSA, etc.) are at odds with him.
He's also at odds with himself. The tension between Fortess America and an illiberal hegemonic America has been and will continue to be impossible for him to reconcile.
Honestly, this is the only explanation that makes Trump out to be somewhat sane.