Let's perform a gedankenexperiment. There is a country A that "misbehaves" — e.g. threatens its neighbourhoods and promises to hit them with nuclear weapons ASAP (in other words, promises nuclear offense). Quick note: in this context "country A" means "government of country A". There is also a country (or an alliance) B that is overwhelmingly more wealthy than A, has more military might and political power. What do you think B should do? Here are the options:
1) ignore A until it directly threatens B;
2) use B's military, crush A's government, help A's people to rebuild the country;
3) apply political and economical pressure to A, which in practice means "make A citizens' life miserable so they deal with A's government themselves". It's sometimes possible to apply the pressure selectively (e.g. to A's elites).
I agree with you that it's a morally ambivalent situation. However, I strongly believe that an embargo (including "digital" one) causes less casualties than "boots on the ground". Moreover, democracies don't fight each other, so in this scenario A is (most likely) a dictatorship. Dictatorships are bad and I believe that wealthy countries should care about long-term wellbeing of citizens of other countries, at least for their own self-interest. Your opinions may differ, but it would be wrong to brush off the whole issue with "political mess created by dumb people".