I’m surprised to hear that pilots are in short supply. I started learning to fly as a hobby and I saw many videos about how hard it is to get a job at a commercial airline. I got the impression that there is more supply than there is demand.
It's a similar situation to National Park Rangers: there are so many people willing to do the job that wages are very low.
https://www.youtube.com/watch?v=cognzTud3Wg
Edit: I'm not a pilot, just a kid that never grew up and likes airplane stuff...