What's causing the smell in my basement?
It turns out it's nothing to do with the water heater. The sump pump's backup battery, which is pretty close to the water heater, exploded inside its container. That's what caused the smell.