I'm not sure I have the same issue, I only have it while gaming and it happens a lot, (almost every game).
My specs: bought all new 5-6 months ago:
CPU Ryzen 5 2600 - no overclocking
VGA MSI Geforce GTX 1660 Ti ventus XS OC
Mainboard MSI B450 Tomahawk Max
16 GB of RAM (2x8, 3000MHz, XMP on)...