Now days it is often the automakers themselves doing the financing/leasing, so if a model has poor residuals it directly affects their profits.
Even with third-party financing, the anticipated residuals influence the attractiveness of the lease offer. A cheaper lease offer means more sales for the automaker, and thus more profits.