The remarks in Doha likely come as an unpleasant surprise to Republicans running for reelection in 2026.