There is no such thing as moral obligation when it comes to politics and national interest.
There is if you ever want to negotiate a nuclear arms-control deal again. None of this would be an issue if Ukraine had kept their nukes.