Thing is, America has allies that are quite socialist (Northern Europe) but we don't mess with them.
Just like we have allies that are some of the worst dictatorships in the world (all kinds) but we don't overthrow them. Why? I think it has to do with what governments our international banks have in their back pocket. I assess it's less about capitalism vs socialism, or dictatorship vs democracy, and more about who is beholden to the banks. I think it's more about control than whether or not they have communism or are part of a caliphate.