If the pipe is hung from the roof, it will deflect as the roof structure deflects. If this is a metal building with long spans, the deflection could be substantial.
If the pipe thru the wall is grouted solid into the wall, it will not deflect. This is where the incompatibility comes from and can cause a pipe to break if severe enough.