President Trump has demanded loyalty from his supporters and allies, causing friction within the Republican party and abroad.