Do countries have sovereignty to develop Nuclear weapon? No, because big boys club sees it as a threat and it is understandable. If some power sees actions of another country as a threat, sovereignty becomes more nuanced.
> Joining NATO--not that the Ukraine was even doing that
Ukraine was actively seeking NATO membership since 2014, see https://en.wikipedia.org/wiki/Ukraine%E2%80%93NATO_relations