Thanks for the update.
In this case, I have 2 suspicions about the cause of this problem.
- Severe corruption of Windows.
- A hardware problem.
It is possible to test some hardware components using software, but unfortunately, not all of them.
Before running any tests, make sure your two RAM sticks are physically installed in the correct slots on your motherboard. For your B450 Tomahawk, two modules must be installed in slots 2 and 4 (A2 and B2), counting from left to right. Running them in slots 1 and 3 can cause memory controller instability and blue/black screens, even with XMP disabled.
Next, I suggest you use the free MemTest86 tool for a deep check of your RAM.
https://www.memtest86.com/download.htm
The deep scan can take a long time, depending on how much RAM you have. So do it at a time that suits you.
Feel free to share a photo of the test result.
Also, check the health of your HD/SSD using Crystal Disk Info.
https://crystalmark.info/en/download/#CrystalDiskInfo
(On this same page, there is the download of another app. The "Crystal Mark". Do not download Crystal Mark. Download only the "Crystal Disk Info".)
Download the "Standard Edition" by clicking on the "ZIP" button.
Extract the ZIP and run the file "DiskInfo64.exe".
The health result of your HD/SSD will be displayed. See if there are any alerts.
Feel free to share a screenshot if you want. Use the shortcut "Windows + Shift + S" to use the screenshot tool.
Feel free to ask any questions you may have.
Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.