The USSR was funding leftist rebels in several central and South American countries throughout its existence - Argentina, Grenada, Guatemala, the list goes on.
Doesn’t seem odd to me for the US to come in and back the current government?
Even if those governments weren’t democratic, I don’t think anyone can argue the Soviet backed ones were going to be beacons of liberty either.