ANKARA, Turkey — U.S. President Donald Trump surprised NATO leaders he is meeting with in Turkey by launching a series of strikes on Iran late Tuesday and revoking a license that allowed Tehran to sell its oil on the world market, a major twist for a summit that had been aimed at showcasing how alliance members were stepping up spending on defense and focusing on support for Ukraine's war with Russia. The strikes were retaliation after three merchant ships were struck in the Strait of Hormuz, and underscored the fragility of an interim deal to end months of fighting between the two countries. Trump launched the attacks shortly after leaving a dinner hosted by Turkish President Recep Tayyip Erdogan where the leaders of the alliance's 32 member countries had gathered ahead of Wednesday's talks meant to focus on progress made toward meeting NATO’s spending targets. Trump did not directly address the strikes Tuesday night. It is rare for U.S. presidents to launch military action while outside the U.S., though in 2011 former President Barack Obama authorized strikes in Libya while on a