Motorists will generally prefer whatever route gets them to their destination faster, but shops want to be where the traffic is, because they want motorists to stop and patronize them. So the shops want to set up right next to the high volume traffic path. But then pedestrians patronizing the same shops will be adjacent to that high speed high volume vehicle traffic.
In theory there are designs that can address this, i.e. you interleave roads so that each block is bounded by a high speed road for vehicle traffic on one side and a low speed road for pedestrians and cyclists on the other, keeping them separate but still allowing businesses to be accessible to both. But now you run into politics: The motorists may now have to walk up to a city block to get where they're going and the anti-car people are going to object to there being high speed roads and parking lots in the city whatsoever. Meanwhile making the change requires a budget allocation to do the work, so in the absence of consensus the status quo prevails.