sorry. again, im not on daily. you seem to be making really good progress diagnosing the behavior yourself. this could be a ram issue, though not a traditional one that would make you point the finger to it from the get go. so, when you have ram issues, traditionally you start by removing all the dimms(the ram chips), then trying the system with 1 dimm in at a time, and then try each dimm in each slot if you want to, to diagnose if its a bad dimm or ram slot. now, with your problem and the behavior you've been seeing, this might take awhile as you wait to see if the behavior persists. however with that code readout on your motherboard, it could be helpful in speeding that process up if it registers the error rather quickly.
i will also suggest you look at the ram settings in the bios. if you're downclocking your ram, that can cause issues. i've never had to do it myself, but my friend got ram he had to do that with when he did his last build and it caused him no end of trouble. the setting you want to look for is xmp. this allows the motherboard to decide on and set the ram to what should be the fastest safe speed it can. like autotuning instead of you having to pick all the settings. the ram you have specifically supports xmp 2.0, as should an x99 board i'd assume you have if you're using ddr4, though i dont know if the settings will specify the "2.0" part in its description.