Analog Devices discusses ground loops and how to manage them:
Transmitting data over long distances is fraught with potential problems. A ground loop can be a source of interference that can induce a noise voltage between the grounds on either end of the transmission. If this voltage is large enough, it can cause data errors at the receiver. This article will explain how ground loops occur and discuss how galvanic isolation has been used to eliminate them.