When I turn on the hot tap, the gas comes on to heat the water, but after the initial heating the gas goes on and off.
It gives a few seconds of hot water, then a few seconds of cold, then hot, then cold, so on and so on.
It gives a few seconds of hot water, then a few seconds of cold, then hot, then cold, so on and so on.