The social function of the drink might have changed, making Kirk mightily surprised that his pizza comes with beer
when he's in fact expecting an apple juice or a sherry or an Andorian beverage that tastes like eggs and raspberry and completely took over this particular niche in the 2220s.
Beer in the future might taste exactly the same as today (although one then has to ask "which beer?"), but would be consumed exclusively with salads. Far stranger evolution of food customs takes place all the time in our very own reality.