It's only their preferences that are bounding their salaries in those cases. At some point, a polite manager is worth more than X more in compensation. The type of person who becomes a top programmer tends to value being in an environment conducive to being a better programmer, because that's how you get to be among the best. So many naturally tend to value productivity enhancing perks more than comp at the upper end.