However, I will note that as annoying as airline pricing is, particularly to geeks but yes to everyone else too, they do serve a function of capturing revenue from customers who aren't price sensitive (biz travelers) and thus lowering fares for people who are very price sensitive (older leisure travelers). You would not be able to argue that airfares were "unethical" if they simply and "transparently" locked in a constant average fair $150 higher than the current bottom end price on Kayak, but the airlines would be making the same money.
For all the complaining and anger around airline pricing, it's also worth noting that these companies aren't Exxon; they aren't rolling in cash. Airlines go BK all the time. It's a tough business.
Take a cruise somewhere, stop along the way and you think to stay there for good? They don't care.
Take a Greyhound bus somewhere and stay in the Arby's too long? They don't care if you want to stay in that random town.
Take a train somewhere, and they certainly won't care where you get off.
Buy a commuter rail pass that will get you to Worchester from Boston, tell the attendant that you're going to Worchester and then get off in Newton... they don't care.
And you know when the airline doesn't care? When you buy the ticket and don't show up at all. They'll happily take your cash, but it seems they don't want to take you halfwhere there.
The office analogy is wrong. A better one would be the person who tells MS they are a student but uses Excel in their business.
The train analogy is backward, would you intentionally buy a ticket to a more expensive destination if your intention were to get off early?
They could always allow some way for you to inform them, "I'm leaving, don't wait for me." (or simply you could just go to that gate and tell them. That way they aren't holding the plane, and no one else is at a loss. You don't inconvenience anyone else, except maybe a few confused people working at the gate.
None of this still solves the issue that airlines don't have transparent pricing. If restaurants acted like airlines, you'd have people in the same place paying anywhere from $5 to $200 for the same meal, and you'd be unsure of one day to the next how much they'll be charging. You could even pay for your meal upfront, only to find that they 'oversold' the meals and you'll have to go hungry.
If you want to talk about unethical, let's talk about inconveniencing customers by overselling flights.