One or all of the XLR cables might be wired wrong/different (pin wise) which would make the ground pin not connected correctly.
Usually it's the other way around. RCAs will create hum/noise and the XLR will solve it.
Usually it's the other way around. RCAs will create hum/noise and the XLR will solve it.