Plumbing Questions? Ask a Plumbing Expert.
My name is Billy.
PLEASE turn off and power and gas to the heater. Leave off until you can have checked by a plumbing professional.
This could be the pressure relief valve releasing because of excessive pressure.
Do not chance this....please unplug and turn off gas.
Call for service in morning and do not use appliance until cleared.