Pilots have a lot more sway at airlines than flight attendants. It’s harder to become a pilot, in part because government regulations make doing so time-consuming and costly. That makes it hard to replace pilots. Pilots also have a lot more say over an airline’s operation, so can slow it down dramatically.
Those are important reasons why pilots are paid more. They receive better benefits. And their life on the road often features better hotels, better ground transportation, and higher meal allowances. Is that… fair?