Edit: Sorry about the spelling errors, times should be read as types
Well there's a big cultural angle that I'm not qualified to speak on so I'll stick to the economics of wine and beer because I have a better handle on that.
This isn't just "modern Western society." Wine as a luxury good alongside beer as a drink for commoners goes way back, way way WAY back straight past the Classical Age when wine was a common luxury good to ancient Egypt where the elite enjoyed imported Canaanite wine while workers received beer rations. Wine being the fancy drink has been a thing for a very log time. Why? Well there are some fundamental economic reasons.
First off, beer is made out of (mostly) barley and wine is made out of grapes. Barley farming is a lot less labor intensive than grape farming so, while farming techniques have changed and improved over the years, it's always been a constant that barley is cheaper than grapes and because of that wine has been more expensive. If something is more expensive then either it'll be a small niche market, nobody will buy it, or it'll be seen as superior by enough people for it to become a popular luxury product. The third is what happened to wine and here we are.
Also until people figured out that putting hops in beer kept the bacteria out without killing the necessary yeast beer was a terrible trade good while wine was an excellent trade good. Why? Well wine is stronger and more expensive (especially by volume) so you make more money transporting it, which is important in the past when transportation cost more. Also for a whole variety of reasons wine was less likely to spoil than beer and the last thing you wanted after shipping your beer for a month was a boat full of spoiled beer. Let's hit the reasons:
All of this means that you're more likely to have beer spoil than wine in pre-modern conditions over the course of a trip. This made wine a more attractive export commodity and something expensive and foreign is easier to market as a luxury than something made by the local farmer down the road. It also made it possible for truly excellent wine to be shipped all over the place, which didn't happen with beer until much much later.
Of course a lot of these reasons stopped applying in the same way after people started putting hops in beer centuries and centuries ago but wine being a prestige drink goes back thousands and thousands of years and it's stayed that way.