They're related phenomena. In general, sprawl (associated with car dependence) tracks with food deserts[1]. Reduce the sprawl, and you reduce the need for cars to access affordable, healthy food (and corresponding absence of access when people can't afford cars).
[1]: https://www.sciencedaily.com/releases/2019/08/190805181637.h...