Ukraine has no way to pay back anything. The country is economically destroyed and, without constant money flowing in from the USA, the entire place will collapse in a week.
. To your point:
They weren’t paying back loans before the War.