Two of the major chains in my area merged a while back and they were required to close down a few of their stores to prevent having a monopoly.
So of course they closed the stores that were under-performing, which just means they closed the ones in poor neighborhoods.
They still owned or kept the leases to the buildings and sub-leased them out with the stipulation that any business taking them over could not carry groceries.
Not only are the people in those areas having to drive a lot further (or spend more time on public transit), but a lot the surrounding businesses to the stores that closed down ended up going out of business themselves.
There’s at least one nearly abandoned mini-small, shopping plaza in town due to this.