The biggest cause of bad beer is sunlight. When UV light touches your beer, it can interact with the essential oils found in hops. The chemical reaction leads to a skunk-like smell. Oxygen can also affect the taste of beer, which is why an opened beer will lose a lot of flavour over time.