Entry tags:
invidious
(of an action or situation) likely to arouse or incur resentment or anger in others
(of a comparison or distinction) unfairly discriminating; unjust
Above are the Oxford definitions. Cambridge combines them:
"likely to cause unhappiness or be unpleasant, especially because it is unfair."