Not the parent but I had this happen to me. It was a top of the line Samsung SSD at the time. Catastrophic failure. Was working fine then one day I rebooted and it never came back. I usually plan for failure of each drive every 2-3 years and buy them on Black Friday. But if that took out my entire 3.5k-4k m1 max laptop I'd be rather disappointed. It's $200 to replace a SSD.
So, that failure mode makes it pretty much impossible to conclusively attribute it to wearing out the NAND write endurance. You probably hit a firmware bug or failure in a different SSD component, otherwise you would most likely have been getting warnings from your OS about impending drive failure based on SMART data.
SSD wrote endurance is an unavoidable ticking time bomb. But it is nowhere near as unpredictable or imminent as many people assume. It's a failure mode that doesn't sneak up on you, and usually takes real effort to trigger. Other failure mechanisms are much more important.