Why do drinks drunk from a glass instead of a bottle taste differently?
It has long been known that receptacles influence the taste and appreciation of beverages. 

Wine glasses, for example, are optimal for giving the nose an opportunity to experience the wine. They enclose a volume that allows you to swish the wine in the glass (without spilling it) to impart the aroma to air in the glass. The usually tapered opening keeps the aroma from dissipating before your nose can sense the wine.

Champagne flutes, keep the effervescent champagne or prosecco bubbly and cold long enough to enjoy the drink without it going flat. 

Different beer glasses are optimal for showcasing the "head" and are tall for the same reason as champagne flutes (to keep the effervescence going as long as possible).

I think it is absolutely the case that the same kinds of considerations apply to cola and other effervescent soft drinks. My opinion is that the best glass for such beverages is a "collins" glass. It it tall and narrow and keeps the bubbles going for a longer time than a wide glass, it is like a champagne flute but holds a larger volume which is needed for soft drinks.