The Ukrainian president says US envoys touted the exchange as part of efforts to end the war with Russia.