Today, takes a big start cost to go from zero to viable, and the lack of intuitive mom and pop know how is a risk too. In these locations, that startup money itself will be risk adjusted, so expensive.
If I ran 7/11 or Shell, I might be thinking about how to put in gas 'n goes with a somewhat larger retail footprint, a larger percentage of life groceries than potato chips. That would have the backing of a large corp, so the first yearly lack of profit wouldn't kill mom and pop's retirement, and comes with knowledge of running the outlet and managing supply lines.
Bonus, you're gonna gas up before you make that three hour grocery run, maybe what they have at the gas station is good enough, or reduces the number of trips you need to make.
There are lots of ways to fill a hole.
In theory. In practice there are tons of areas that a vacuum exists for decades.
The same way there are tons of rural communities in the US where you still can't get an internet connection apart from dial-up.
But why wouldn't smaller stores open again now walmart is gone?
Edit: Say what you want about them being mom & pop stores that somehow cant start up again, if it takes 3 hours to drive to a shop and back there is a market opportunity. People will pay more for groceries when it doesn't involve a 6 hour round trip. I thought the idea of Americas great free market is that this void would be filled?