The pilot shortage is due to a combination of factors, including baby boomers reaching the mandatory retirement age at 65 and a diminishing pool of potential candidates. Additionally, during the Covid-19 pandemic many pilots were encouraged to go into early retirement.