Your computer was restarted because of a problem when the NVME pcie adapter with the drive is plugged in

Does anyone know why is that or how to fix it ?