U.S. foreign policy seems to be to hinder the expansion of other large powers in an attempt to keep them small enough to not be an existential threat at some point in the far future.
You send money and aid to whom ever is in a position to hinder those who are growing too powerful, whether the group you are sending that money and aid to is democratic or not.
This is not about right and wrong. It's about long term strategy, aimed at preserving the status quo for as long as possible. If you hinder your competitors, that keeps them from becoming even more of a threat to you.