A belligerent style of American foreign affairs has fostered a uniquely unpredictable environment likely to scare off U.S.