The term (or the term whataboutery, which it emerged from) was originally used by pro-British newspapers during the troubles to complain that when people would whine about IRA activities others would respond by pointing out that their direct opposition, the British, were committing atrocities.
It’s always been a tool for Western hegemony to avoid criticism and accusations of hypocrisy.