There's good smelly ... which is an earthy pungent richness
For example, seaweed or kelp or manure have a strong odour, but not foul.
Then there's bad smelly ... which is typically sour
The sour smell comes from anaerobic bacteria ... meaning those that thrive in the absence of oxygen...