As for why pilots have the power to boot people, it's because they're responsible for the safety and happiness of the passengers during the flight, and the airline is there to make money on slim margins, not to serve as a public utility. Unless an airline engages in systematic discrimination against a protected class of people, then pilots will generally be allowed to appease the majority of paying passengers.