People get jealous and can't handle the truth because a huge chunk of people don't even understand how a business works. Especially from an engineering side, it's really hard to swallow the fact that you have all of the skills and actually created the product, yet you will make 10% of what good salespeople make.
Programmers, not so much.
This does not of course mean that the coworkers of that 250k salary think the work is worth 250k. That disconnect which can be difficult to fix will often cause bad feelings and poison the atmosphere.
The correct solution of course is for the company to effectively communicate what is sees as valuable so that employees can work toward creating that value and measure correctly. This is harder than it sounds though.
What's hard: even when Project A is effectively communicated as the most important thing BigCo does, Project B is still essential to BigCo's functioning and BigCo cannot exist without it, so how to counteract Project B employees feeling either devalued or jealous of Project A?
Warehouse employees get paid a bit more than shopfloor employees. Warehouse employees are mostly men. Shop floor employees are mostly women. The jobs are not identical, but they are similar. Shop floor employees include the shelf stackers - they take pallets of boxes of goods and unload these onto shelves. That's very similar to the lifting work that warehouse employees do. (There might be a need for some warehouse workers to have forklift licences, which would explain a small amount of the pay differential).
In this legal case the wages of both group are pretty close to minimum wage.
http://www.theguardian.com/business/2014/oct/24/asda-mass-le...
http://www.theguardian.com/business/2015/jul/09/sainsburys-f...
One way they might address the allegations would be to transfer some warehouse employees to the sales floor and vice versa, providing a better mix, and a good opportunity for employees to see a different side of the operation. Of course, locations may not allow this easily- and may actually play into the pay disparity.
That 15% cut was a lot more than the uk's median wage :-)
I also believe making salaries public are also a good way to fight against gender-inequality in the work place and it makes workers think collectively rather than individually.