Hi. I'm David, and I'm happy to help you.
This behavior can occur for several reasons. It is necessary to investigate.
Please see if your computer created minidump files.
These files are in C:\Windows\Minidump.
(If you don't have a Minidump folder, check if it is in the plural Minidumps.)
Copy any files you have to your desktop and store them in a ZIP file. Then, upload the ZIP file to the cloud (OneDrive), choose to share it, and get the link.
Then, post the link to the ZIP file here so I can have a look.
Just to clarify: If you are afraid to share the minidump files due to personal information, don't worry. Minidump files do not contain personal information. It is perfectly safe to share them.
By the way, minidump files are frequently shared here in the Microsoft Q&A.
Looking forward to your reply.