I looked at the fans and they were all spinning before during and after the crash.
The motherboard was showing code 45, is that the LED you are talking about?
here is what the internet says about your mobo code 45.
Code 45 on an MSI MEG Z390 ACE motherboard typically indicates a post-memory initialization error, often related to faulty RAM, poor seating, or a BIOS issue. It signifies the system failed during the memory detection phase. Troubleshoot by testing single RAM sticks, clearing CMOS, or updating the BIOS.
Key Troubleshooting Steps for Code 45:
Reseat RAM: Remove all RAM sticks and test each stick individually in the DIMM A2 slot (second from the left) to rule out a faulty module or motherboard slot.
Clear CMOS: Disconnect power and remove the motherboard battery for 5-10 minutes to reset BIOS settings.
Check GPU: Ensure the graphics card is firmly seated, as this error can sometimes relate to PCIe device initialization.
Verify Connections: Check all PSU cables, particularly the 24-pin ATX and 8-pin CPU power, as improper seating can cause boot issues.
Disconnect USB Devices: Unplug all non-essential USB devices and drives, as a faulty USB device can freeze the POST process.
Also msi has an official website to download the bios for all their motherboards.