Oh it's not usually "fair" per se, but it's not like some people would get more than others (if done well), it's more like you don't always control all of the factors that get used to determine your bonus.
Like a QA engineer probably isn't directly tied to overall revenue, but it is a topline number that can be applied to everyone generally, so it can get used (in a general sense, I'm sure there are lots of specifics and nuances here).