Water Heater gas line

This is a first. The water heater gas line goes into and out of a “T” that’s in the opening for the T&PR valve. What the heck?

Read this…
Gas line connected to TPR valve?