It could be that moral of Ukrainians is deciding factor: million of civilians ready to turn into soldiers, dig into the ground and die there is very strong force.
the point is that many countries through the history surrendered very fast and agreed on whatever aggressor demanded.
> It's not like Russia needs any further territory
that's Putin's wish, he wants to become some historical figure, and people have little choice but follow to meat grinder
In fact it is common knowledge that before 2014 Ukraine and Russia were brotherhood nations. Ukraine couldn't imagine being attacked by Russia, that's why the army was a joke at that time and Putin took over Crimea so easily.