A radio altimeter foot is dependent on the speed of light in the medium (very close to c in thin air). A foot on your altimeter depends on how close to ISA the bit of the atmosphere you’re in happens to be. Sometimes the two measures coincide; sometimes they don’t.
Welcome to the real world!