Input ground loop hum only when p10 cables or XLR without phantom power are connected


I own a Scarlett 2i4 (USB interface) and all of a sudden a ground loop appeared that only makes noise when p10 cables or XLR cables without phantom power (when I turn it on, it disappears) are connected. I’ve changed the cables several times and nothing seems to work. Please help!
128x128pedropmk_