We have something similar with a drain pipe. The hole where it passes through the wall frame is exactly the diameter of the pipe. Pout hot water down the drain, pipe tries to expand lengthwise and rubs against the wood - creaking/snapping sounds until things are back at normal temperatures.