A few things come to mind?
What is the rating on your power supply? And what brand is it.
As the 3080 has only been out a short time and the 9900k has been out longer, I'm assuming the 3080 was an upgrade from a GPU in a previously built system.
A 3080 needs at least 850 watts from the power supply for recommended specs or 750 watts minimum,. I would go higher if you need to update your current PSU, the 9900k likes a lot of power too.
Is the PC performing as expected in other software? I would try running some free benchmarks suites like Unigine Heaven and I think Unigine has a Ray Tracing test as well, once tested compare your results to similar spec PCs by searching for results online.
Also try it with just 16GB of ram by taking out 1 pair of sticks, I'm assuming you're running 4x8GB from a single 32GB kit.
Once you have tested the first pair take them out and test the second to check for ram issues. If 1 set of 16gb works ok and the other doesn't then test with 1 of the poor performing pair then the other to see if you have a bad ram stick issue.
Let me know if you're running 32gb using 2 sets of 16gb, as these might not be matched and could also be the cause of your stability issues.
Also welcome to CoDForums
@Pilgrim_97, it's great to have another PC gamer on the boards.