I don't rule out new components coming with a defect. I've seen this happen before
Access the link below, enter the exact model of the RAM memory you are using, and see if it is on the list.
https://www.msi.com/Motherboard/B550M-PRO-VDH-WIFI/support#mem
You can get the exact RAM model from the motherboard BIOS.
Feel free to ask back any questions. Click on the "Reply" button below my reply.
________________________________________________________
Standard Disclaimer: There is a link to a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.