The temperature and pressure relief valve is the last defence against a water heater becoming a pressure vessel failure, and every rule about its discharge pipe exists to keep that path open and its operation visible. Terminating near the floor keeps discharged water — which may be near boiling — from spraying at head height onto anyone nearby, and puts it where it will be noticed. No threads on the end prevents a cap or a hose being fitted, and no valve in the line prevents the path being shut off; either would convert a safety device into a sealed system. The pipe must also run downhill for its whole length so it drains rather than holding water, be the same size as the valve outlet, and be a material rated for the temperature. Inspectors check the terminal condition because it is the part most often altered.