How much they get when they sell it is directly related to the remaining TCO of the car.
And if you include a middleman, like a dealer for a trade-in, they won't ever pay for gas or maintenance, so they're even less inclined to factor the remaining TCO into the price.
The price the buyer is willing to buy at is directly related to the costs he is going to incur operating the vehicle.