I want to say the pandemic played a role in this. I saw most other grocery chains taking quick action with the corona virus, such as mask wearing, signs asking to social distance, etc. Walmart was late to the dance (if they even showed up) because they didn't want to cut into profits and spend the money to make their customers safe. (Well, as safe as possible as can be in a pandemic.)
I would go to Kroger, Trader Joe's, Whole Foods and many others and they had their employees spraying down the carts, making masks mandatory and limiting shoppers in their stores. Walmart? They couldn't care less. Their associates weren't wearing their masks properly, customers had to wipe down their own carts (IF Walmart even had the cleaning supplies to do so), no limits to the shoppers in their stores, no mask enforcement, etc. I don't believe my nearby Walmart even has the plastic barriers up at the registers yet whereas everywhere else I go, they do.
I would shop at Walmart and maybe, 10%,of the customers would be wearing masks. When I would go elsewhere those stores would have a 90% compliance rate. Walmart did it to themselves demonstrating they don't care about their associates or customers. Only the almighty profit.