What does that mean when people judge other people for the same exact thing that they do but when someone else does it then it’s a problem?

What does that mean when people judge other people for the same exact thing that they do but when someone else does it then it’s a problem?
Post Opinion