> There's no reason they couldn't all coordinate better so that each individual store is only open through the night a couple times per week. That would make a lot more sense.
You incorrectly assume their primary goal is to provide service to customers.
Their primary goal is to maximize profits, and in a saturated market the only way to do that is by trying to take market share from the competition.