It's pure capitalism.
Shoppers will go where prices are cheapest. If a grocery store jacks up its prices on Saturday morning, when most people do their grocery shopping, then people will start doing their grocery shopping on the web or at a store with better prices...or do their grocery shopping on Monday afternoon when few people grocery shop and the e-prices will be lower.
Unlike Uber, grocery stores have very stiff competition.