Armenia was the one who was severing ties to Russia. Their new government was sticking its thumb in Russia's eye and trying to form ties with NATO and the EU.
Armenia was delusional in thinking the EU and US would support them over Azerbaijan. They're lucky Russia intervened at all.