Shelf space is valuable, and customers like full shelves. Walmart warehouses as little as possible — everything gets pushed out to the stores. So you’ll have regional and seasonal variations where a store will overstock to push more product.
When that season ends, it’s more useful for the store to unload the inventory for cash quickly and switchover to the next thing.
You can always spot a struggling general retailer when you see “holes” in the aisles or low-density merchandising... it’s a sign that the vendors are tightening credit terms.
Amazon has a less competitive market position because people are buying stuff for convenience and there’s a high transaction cost due to shipping. Every major retailer is launching subscribe and save programs to nip at those Amazon convenience shoppers. Amazon needs the job-lot people because they are the only folks who can get a tube of toothpaste for 1/3 the retail cost. It’s a great strategy, until some psycho tampers with product by putting poison in toothpaste or acid in shampoo.