Because you're solving mediocre problems for terrible pay. If you want to solve the world's toughest problems for terrible pay and can meet the bar, there are other places with a very happy customer, stable careers, and great benefits.
In my experience, that is what contractors are for; grind through the blergh B and C tier tickets. You can have onshore developers do that but a lot of companies seem fine with offshoring those tasks.