The attack came as leaders in Kyiv and across Europe are seeking to navigate rapid changes in U.S. foreign policy under President Trump.