? They had nuclear weapons, but gave them up in a treaty with Russia in exchange for security guarantees. Russia betrayed Ukraine by violating that treaty by the Crimea invasion in 2014. See the Budapest Memorandum [0]
Arguably, the ongoing policy of the US administration w.r.t. of strike prohibitions is in violation of the memorandum terms. Obviously, russia egregiously violated the memorandum as well as a multitude of (now effectively non-functional) international laws and has committed a large amount of crimes against humanity it was not and still isn't held accountable for.
(I've no idea if the Russian weapons used such a system)
Baisc nuclear weapons aren't rocket science anymore.