The Russians need to maintain their naval bases on the Syrian Mediterranean coast.
They will do whatever it takes, and support whoever they need to, to keep those ports.
Very similar to the Crimean situation - access to the naval ports on the Black Sea. If they had lost the Ukraine to the EU - as was increasingly likely - they would have, militarily, been severely undermined.