If we are going by the game theory, mutually assured destruction only works if both sides believe the other is willing to engage. If one side knows the other side will not engage, it becomes easy for the aggressive side to take advantage of the passive side.
Putin also doesn't want to die so the hope would have been that if the west was stronger and made it clear that an invasion would lead to war, there would be no invasion. Putin didn't see that commitment so he attacked.