indeed, the whataboutism itself is intended to kill discussion of the initial topic (in your example, A doing Y, not simply Y), hence why it's a logical fallacy, too
in this case, the goal was to stop people from talking about China's actions and instead deflect to someone else's actions
that might explain why Whataboutism, invented by russian propagandists, is explicitly described as a subtype of the tu quoque logical fallacy:
"From a logical and argumentative point of view it is considered a variant of the tu-quoque pattern (Latin 'you too', term for a counter-accusation), which is a subtype of the ad-hominem argument."[0]
You made this up. Nowhere in this thread is it implied.
as an example, look at whether, after the whataboutism, we're discussing the original topic (China and its actions) or something (or someone) else.
see? whataboutism deflection succeeded.
it should be clear why whataboutism is indeed, as shown above, explicitly defined as a logical fallacy, despite the made-up claim that it isn't one.
"We need to do X because A is bad because it does Y"
"But we also do Y, shouldn't we also do X for us?"
Logic says yes. "Whataboutism" was invented to kill basic logical inference, in the context of the bipolar Cold War era. Using that term to kill discussion and browbeat is anti-intellectualism, pure and simple.