But low-pay + labor shortage is seems to be a common thing.
I would speculate it's driven by the production of a very price sensitive commodity. Lots of people choose the cheapest flights possible regardless of other considerations so a significant rise in pilot pay might make a given airline unprofitable since they can't raise prices to compensate.
So airlines feel strong pressure to keep wages down.
And really, you could say a "labor shortage" is what every high volume, low margin operation complains about but the reality is basically "we pay low wages so it's hard to get enough people to work for our low wages". (Obviously, with airline pilots, it's low wage relative to the cost of gaining the skills etc). We can see similar language with H1b visa proponents and even fast food restaurant operators use it periodically.
Just to play with some numbers, let's consider a pilot with a salary of an astronomical $1,000,000/yr who flies transatlantic flights on wide-body jets (300 or so passengers). She is limited to 1,000 flight hours/yr, so each hour costs the airline $1,000. For an 8 hour flight, $8,000 split between 300 passengers is about $26 per person. Given that these flights come in around $150 at the cheapest, often going up to $1,000 at peak times, this (quite high) wage estimate doesn't translate into a huge price for the consumer (especially since you could shift more of the cost towards the first- and business-class passengers).
I think the numbers work out similarly for regional flights which have fewer passengers but shorter time in the air. These pilots start with base salaries in the $30,000 range; if that were raised to $100,000 for flying (for example) 3 hour flights with 50 passengers, that's only ~$4 extra per passenger per flight.
There might be other factors I'm missing - do these pilots actually fly significantly less than 1,000 hrs/yr?
"You cheap bastards could easily afford XXX" misses the point. A large company runs on general principle, and company that's producing at minimal cost is going to run on the principle of saving money everywhere.
You would be pretty surprised how many costs airlines have to pay. An extra $4/passenger/flight would eat significantly into their bottom line. This is especially true for budget airlines, which often already make less than this per passenger already (source: https://www.youtube.com/watch?v=069y1MpOkQY)
In addition, certain airlines have the backing of massive nation state funds or are otherwise simply enormous - just like cheap venture capital, they can simply drown smaller competitors, buy their slots and airliners for a penny on the dollar and then jack up the prices. Lufthansa and AirBerlin are a perfect example.
"Labor shortage" is just a tactic to get someone else to help with the problem in a way that doesn't require increasing pay. It's the hiring equivalent of "don't miss this exclusive sale!"
It seems from upthread comments that the institutions to train prospective doctors are somewhat better-developed than the institutions to train prospective commercial pilots. (My understanding is that this used to be primarily military, but now pilots are coming in through a greater range of paths.) If people think they want to be doctors, they can apply to certain schools, get certain loans, participate in an established process to find internships (which their schools will guide them through), and so on. I don't know that there are really institutions to help the pilots this way.
That doesn't mean that supply and demand somehow don't apply or don't influence people's behavior, but a need for massive amounts of training and credentialing (literally years' worth that themselves come at a high financial cost) surely slow down the response.
The average age of airline pilots is going up very quickly though, so these terrible practices will eventually illicit a market response, since nobody (or very few people) actually wants to do this.
Completely off-topic and unrelated, but on the small chance that this helps you (or anyone else reading): illicit is something forbidden or illegal, while elicit is to evoke a particular response.
1. Airline companies are few and far between, it's basically an oligopoly and getting black listed by one company might impact your job prospects in another
2. Pilots invest a lot of time into qualifying for their jobs and the sunk cost fallacy traps them into looking for jobs flying planes.
Also, there might be some strong self-motivated reasons, not wanting airplanes to go without pilots due to altruism, just generally enjoying flying... These aren't IMO strong financial drivers so they seem like weaker points, but they may provide some influence.
http://philip.greenspun.com/flying/unions-and-airlines
It's also worth noting that this is largely a US-only phenomenon. It has led to a lot of junior US pilots heading overseas to fly with other carriers, most notably in the Gulf, although that party is slowly starting to wind down.