If you've got a hot water tank, there could be a buildup of bacteria in the tank, and also sludge at the bottom, as it will hardly ever be emptied fully, so a proportion of the water could have been there for years.
On the other hand, if you've got a combi boiler, this only heats the water when...