There may also be a spare parts pricing differential.
As with a car, the OEM price for the entire unit is much less than the individual price of all the components involved. That is one reason why it may be sensible to scrap an airframe early, the individual parts are worth more than the whole collectively.