Hayward pool heater thumping

Welcome to TFP.

The internal bypass valve is necessary to prevent corrosive condensation and other damage to the heater.