Different barrels react differently when fired, slight differences in the alignment of the barrel and optic mounting point, slight differences in how the mounting point is machined, etc... All these things will add up to making a zero different between rifles.
It's possible, even likely, that just swapping the muzzle device on a rifle will cause a shift in zero. (How much is variable)
Always check you zeros when moving or changing parts too.