First off, your assertion that the UN Charter is the end-all-be-all of the "rules based order" is greatly flawed. Putting that aside, though, my exact point is that the claim that we live in an international society governed by a rules based order is ridiculous
. The UN is completely inept, due in no small part, as
@sevenhelmet pointed out, because Russia is on the UNSC. It has absolutely no teeth with which to uphold the supposed rules some claim we live under.
Putting even all of that aside, even the UN Charter you referenced gives ample reason to believe a military response to a military overthrowing its democratically elected government would be "legal" (that's your ignorant term, as there is no such thing as a country doing something "illegal"... which further reinforces my point that there are actually no hard and fast international rules). The US didn't intervene in Turkey in 2016 for exactly the reason I stated before... namely, that local politics in the US did not support it. If you're alluding to my comment about a coup in Europe, then you must be considering Turkey as European... which, culturally, they are not, in that they do not share a cultural identity with the majority of Americans that would get public opinion here immediately on their side.
I read plenty, and I do understand why we haven't done anything about the recent coups and genocides. Do you? Is your reference to the UN Rights Council rejecting that motion indicative of your opinion that we can only act if the UN says we can? Or that we can only act if Indonesia and Pakistan approve? GMAFB.