Boxed wine comes in a plastic container. Beer goes off rather quickly without excellent storage, which is why cheap beer has settled on aluminum cans which preserve well while being cheaper and lighter than glass.
> which is why cheap beer has settled on aluminum cans
Where I come from beers come almost exclusively in glass bottles for the large ones (66cl), aluminum cans are only used for the small ones (33cl) but you can buy them in glass as well.
Many of the cheapest beers are imports, for example Bavaria, that you usually find in aluminum cans in Holland but in glass bottles in Italy.
I can't explain why, but for us some things must be bottled in glass or they aren't "good".
Tomatoes is another example: you can find cans of tomato pulp or peeled tomatoes, but not the sauce, it always comes in glass bottles (it exists of course, but it's a very weird choice to us).
IMO it's simply habits
no one would buy beer or wine in a plastic bottle, because it feels wrong (and it is if you ask me).
Here in Italy nobody in their right mind buys tomato sauce in plastic bottles, our granmas would come to haunt us at night if we did.
but we buy water in plastic bottles ¯\_(ツ)_/¯