The dealer intends to resell your trade, so after buying it from you, they may spend additional money to fix any problems and make it ready to sale. They have to cover other expenses too like salaries and overhead and want to make some profit on top of that. To make the whole thing work, they typically offer you a lower trade-in price than if you sold your trade to a private party.