During the night, the TP valve on our electric water heater went off. The noise, which sounded like a pressure cooker releasing pressure, woke us. It released a lot of water, but I have don't know why it happened. Can you tell me why and how to keep it from happening again?

