Grounds, RCAs, stylus connection, headshell connection those would be the first things to check. But you only need one working deck to scratch
Wiggle the RCA connectors at your soundcard, see if that works. Switch decks A and B physically, and see if the problem follows the turntable. If it doesn’t, might be your soundcard.