I remember in my ATPL's something along the line of passenger aircraft can only be used for so many cycles, however for cargo operations the a/c can go on for more cycles hence the hulls are sold to cargo operators at the end of their passenger life.