It also happened because NATO broke its promise and expanded to Russia’s border. After toppling the Ukrainian government in 2014 by coup. But whatever.
This is verbatim a Kremlin talking point. For the record, no such promise was ever made and NATO expansion happened because a number of countries requested membership to safeguard them from Russia.