Other tracks stutter when recording but not playback

Specs: 16GB DDR5 Ram, Ryzen 9 5900x, 3060ti, 2tb Hard Drive, 1tb SSD

Whenever I’m recording, occasionally the other tracks will “stutter” and lag before going back to normal. Since I’m recording music this is a really big issue for me. I’ve recorded with task manager open and all of my %s look fine. This was constantly happening no matter what when i updated audacity, upon reverting to an earlier version, it stopped but is now happening again. All of my tracks are at 48k rate.