It starts as the same water.
A mains pressure water heater is filled from the same supply as the cold tap: Rheem's owner's guide says its heater is designed to run at mains pressure, connected directly to the mains water supply [12]. What changes it is the heating and the time it sits [1][2].