Another common problem that can create noise in tankless water heaters is a dirty flow sensor which controls how much gas is sent to the unit.
Tankless water heater noisy pipes.
If your water heater is making noise like water is running you probably have a leak or a broken pipe.
Even though a toilet only uses cold water i have seen some toilets do this.
Water vapor is a byproduct of combustion although in this case the vapor contains elements such as methane nitrogen and oxygen.
Generally speaking there is a lower chance of hearing strange noises with a tankless water heater vs tank model.
In that case you need to have a plumber install a check valve in the water line.
Although keep in mind that it is normal to hear water entering the tank when hot water is being drawn.
Others reasons for a noisy tankless water heater model may be an issue with the burner the fan may be dirty or possibly a leak in the sealed combustion resulting in irregular gas combustion.
A blocked or improper ventilation and even a defective or wrongfully set pressure valve can also make your tankless water heater loud.
Or you can try to run down the leak yourself by checking the following.
If the running water noise continues once the tank is filled you may want to call a professional plumber to investigate the situation for you.
Other sources of noise include blocked or inadequate ventilation or a defective or improperly set pressure valve.
Good luck with your project.
If you hear a weird groaning sound from the pipes or the tankless hot water heater when you flush the toilet that could be the culprit.