Your mileage may vary.
I spoke to a BG engineer before and he mentioned the same as what Madrab said.
When the diverter valve switched back DHW to CH, a shock valve was sent to the heating system. If some air is inside the pipe, the sound will be amplified and causing some noise on a...