Almost-square packaging

I’ve noticed that half-gallon containers of milk and juice, as well as 1-lb packages of butter, aren’t quite square. They’re slightly narrower between two opposing sides and slightly wider between the other two. This must be by design but I’m not sure why they do this. At home, occasionally something won’t quite fit the wider way but turning it 90° will just work; but is this something the manufacturers can really count on? Is it possibly a metric vs. inches thing that lets the packages be an even integer of some larger container?

Maybe it’s so cold air can flow more efficiently between them in storage?

I figure it’s for the facing of packaging on a grocer shelf.

The shelves have finite number of inches. They want more full PKG. showing to the public.

What bugs me are the oval tubs. They fit nowhere nicely. And really have no after use.

I’m guessing shrinkflation. Our napkins are no longer square.

That can’t be it because the weight (for butter) or the volume (for liquids) hasn’t changed.

The rectangular shape fits our hands better. If you just made the package square but smaller, you’d have to make it taller to hold the same amount, and that would just cause a different type of inconvenience.

I don’t think that’s it either because unlike say a juice or broth carton, milk cartons and butter pounds aren’t rectangular enough to make a real difference how you grip them; but the difference isn’t zero.