It is valid to point out that someone is complaining about one instance of a thing whilst not complaining about another instance of it. They are displaying hypocrisy, as @andyp pointed out.
Whataboutism is when you use a spurious, non-related criticism to imply hypocrisy where none exists - as defined in the wiki link you used in lieu of a post. e g. "It's a bit rich to moan about the undemocratic commission when you are lynching negroes at home." (Example drawn, again, from your wiki link).
nah, the “and you are lynching negroes” example is specifically human rights based. You counter a human rights thing with a human rights thing. E.g. “it’s a bit rich to complain about our human rights abuses when you are abusing human rights”
Whataboutism is not what @andyp did there.
It is valid to point out that someone is complaining about one instance of a thing whilst not complaining about another instance of it. They are displaying hypocrisy, as @andyp pointed out.
Whataboutism is when you use a spurious, non-related criticism to imply hypocrisy where none exists - as defined in the wiki link you used in lieu of a post. e g. "It's a bit rich to moan about the undemocratic commission when you are lynching negroes at home." (Example drawn, again, from your wiki link).