Because if a ticket is sold privately to another rather than going unused, the airline only gets paid once. If the airline can resell the seat, they get paid for it twice.
When I buy tickets, they are nonrefundable. If I don't use the ticket, I don't get my money back (or credits). You can buy tickets that are refundable, but they cost more.