I'm no legal eagle so I may be talking tosh, but, put simply, I would suggest that it's on the basis that the airline has entered into a contract with the person whose name is on the ticket. Furthermore, it is that person who will have directly endured the hardship of any delay etc.