Just thought this might interest someone. I got new carpet a couple of
days ago and today the water started smelling terrible. To make a long
story short the water department asked me (without prompting): "Did
you get new carpet?" Yes.
They said the chemicals in the air from the new carpet react with the
chemicals in the water and produce the bad smelling water. But that it
was harmless to consume the water.
I hope this helps someone.