The two things that caused this war are:
1) NATO the "defensive" alliance tearing libya to shreds like a rabid dog, basically for sport. This signaled the start of Putin's paranoia.
2) NATO putting Ukraine on the path to membership and refusing to back off.
Joining a gang is dangerous. Ukraine paid dearly for trying to join ours.