The national security adviser had increasingly clash with the White House on foreign policy.