I don't agree on the Russia Ukraine motivations. Ukraine is not part of NATO and was not going to become part of NATO. There were already two NATO countries bordering Russia near Moscow and St P if NATO had wanted to invade which they had no thoughts of doing. Russia lies constantly on this stuff. I think they basically regarded Ukraine their land as part of the Russian empire they were restoring.
It's not about immediate intentions, but about strategic options. Imagine Russia decided to form a military alliance with Mexico with the expected intention of deploying weapons on the Mexican border. If Mexico agreed to this, it would take approximately 0 seconds before the US invaded them under some whimsical pretext (drug gangs probably) and overthrew their government to prevent this. In fact this is, more or less, what the Cuban Missile Crisis was where we were willing to bring the world to the brink of nuclear annihilation over it, and that was an even lighter weight version of this event since there isn't even a land route from Cuba to the US obviously!
But in this scenario would you think Russia deploying weapons in Mexico is a precursor to them invading? Or that the US would be worried about that? Obviously not. Neither was Cuba. But it gives an adversarial power a tremendous strategic edge, while you get less than nothing out of it since it reduces your 'power' in the relative strategic balance of countries.