That is an old classic windows real time audio thing.
If you google windows real time audio. You will find a whole bunsh of info on the subject.
http://www.resplendence.com/latencymon you can use this program to quickly find what tweaks you need to do.
I have bin on daws for 20 years. Can’t say there have bin much improvment in windows and audio.
Windows should take the time and make a built in real time audio app. Wich tuned the hardware to be in sync with the real time audio engine.
As off now you need to use 3 party programs or have the “know how” to get the most out off the daw.
I have seen so many fustrated people over the years. Blaming the audio driver or the daw for all the pops and crackles. When truth is that it is the onboard hardware and windows that is not playing along.