The US and many other countries get involved in the political processes of other countries all the time. The deposed president was no saint. In an ideal world it wouldn't happen but it is 'in the game' in 21st century world politics. Situation normal.

Lining up your tanks and grabbing chunks of land off your neigbour because you are not happy with the way things are going down went out of fashion a century ago.

The idea that you can compare these 2 things and say the one justifies the other is total pile of bollix.