The move by Trump also will start to raise questions about the credibility of Washington's commitment to alliances.