Beer is traditionally sold in brown or green glass bottles to protect the liquid from ultraviolet (UV) light exposure.
UV rays can cause chemical reactions in hops, leading to a 'skunky' flavor profile that degrades the quality of the beverage over time.
Brown glass provides the highest level of protection, while green glass is often used for aesthetic reasons despite offering slightly less UV filtration.