Why is my laptop doesnt read my SSD?

Laptop automatically boots into BIOS and SSD not detected intermittently

My laptop suddenly shut down, and when I turned it back on, it booted directly into the BIOS. In the BIOS, only the HDD is detected—the SSD doesn’t appear. I tried removing and reinserting the SSD, and it worked again for a while. However, the issue keeps happening repeatedly. I'm quite sure the SSD itself isn't faulty since it's still being detected at times. I suspect the SSD port (slot) might be the problem.

What can I do to fix this issue permanently? Thanks for helping in advance.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0