Zelenskyy simply does not have the authority to end the war under Ukraine law.
Ukraine law forbids presidential elections during wartime!
So. Zelensky doesn't have the authority to end the war (so why was he in DC?), but because there is a war, there can't be an election, therefore keeping in place the person who doesn't have the authority to end the war.
The Church Lady might say "that's convenient".