Programming jobs are not much to brag about. Many IT people don't just check out after 5pm. They are on-call after work, stay up late at night trying to finish X or fix Y. They are expected to show up to the office on the weekends to do Z. In the meantime, the HR people are relaxing at home with their families.
As long as programming jobs are worse than regular jobs, people will require higher compensation to take those jobs. More stress, more requirements = higher compensation.