The plumbing connects with a hot water heater, which preprepares an amount of hot water for your sink and shower. But there is also a cold water pipe, which bypasses the water heater.
If the plumbing is done wrong, and the water diverts from the toilet intake to the shower, then flushing the toilet kills the cold water running into the shower, leaving you with only hot water flowing.
As for the temperature of the water, it is regulated by mixing the hot water from the heater with cold water from outside the heater. The more you open the hot, the hotter it gets, because there is more hot water than cold.
Latest Answers