What is the difference between same brand of underwear at different stores?

I saw Walmart has Hanes tighty whites 6 ok for $10.98 vs Macys 7 pack for $42. You don’t need to be a genius to difference in price. Is it just marked up and get discounted to “feel” like a better deal?

Updates
+1 y
Sounds like is logistics, marketing strategy and product quality.
What is the difference between same brand of underwear at different stores?
Post Opinion