Because redlining was often an explicitly racist choice.
https://en.wikipedia.org/wiki/Redlining
> In the United States, redlining is the practice of denying services, either directly or through selectively raising prices, to residents of certain areas based on the racial or ethnic makeups of those areas. While some of the most famous examples of redlining regard denying financial services such as banking or insurance,[2] other services such as health care [3] or even supermarkets,[4] can be denied to residents to carry out redlining.
> During the heyday of redlining, the areas most frequently discriminated against were black inner city neighborhoods. For example, in Atlanta in the 1980s, a Pulitzer Prize-winning series of articles by investigative-reporter Bill Dedman showed that banks would often lend to lower-income whites but not to middle- or upper-income blacks.