How do you know? Maybe the other person doesn't even get a bonus. And even if that's the case, the people who are eligible for the bonus are still being compared, which is the point I was trying to prove. You and everyone else is constantly being compared to others.
But if you'd like, we could consider another case where we have two employees who have the same position. Since we're on HN lets say we have two junior devs. If the company decides it doesn't need both employees, one of them will be laid off. Obviously the person in charge will have to compare the two and decide which one to let go.