It's primarily the ultraviolet in sunlight that is damaging. Stores use flourescent lighting in this part of the world, which still emits a fair amount of UV, damaging the product sitting on a shelf. This is why beer in green bottles often picks up a "skunky" flavor; green glass doesn't block UV as well as brown and the UV reacts with the hop flavinoid molecules, changing the flavor.