Certain WD NVME require a Firmware update, because they just disappear/get deleted from the BIOS at random
This happens on Windows even
Look up a firmware update for your model, as this could be the case for you.
WD released a Firmware update for this problem about a year ago
You will need to connect it to a PC or MAC to do the Firmware update though.