Maybe you’re looking at an electric hot water heater because there really was a problem with the gas line to it and it had been disconnected.
It may have been a less that accurate way to warn you to not install a gas water heater again.
Troo dat! So inaccurate as to make me double-check anything else the person would say!