Smelly earwax can be caused by underlying issues like earwax buildup, swimmer’s ear, cholesteatoma, and ear infection.