People want drinks and meals they don't have to choose, order, and pay for (or worse, pack!) on long-haul flights. People want to earn (often lots of) points with a major airline alliance on long-haul flights. Many, many people fly long-haul for work, and their employer is price insensitive and will pay for business class. And so on.
Also, long-haul self-selects for a more affluent customer. I'll fly all over the EU on cheap tickets, but when I go back forth EU<->US (often 10ish hour flight) it's on a major carrier ideally with a lay-flat seat.
because airline margins are already low to zero and the cheapos crowd is basically a net negative. IIRC most airline profits come from stuff like credit card rewards and things that don't actually involve flying the airplane.
Like your average airline makes around $3 per passenger.