Because when someone working for a public entity is rewarded with more money, eventually it results in someone else publishing something along the lines of "Our investigative team scoured records and sent a bunch of FOIA request, they found that some public servants make more than <insertLargeAmountOfMoney>", cue outrage, tightly defined salary bands set by the legislator and ultimately the problem you describe.