How can you find out what caused a process to crash?
Crash logs can be found in ~/Library/Logs/DiagnosticReports
or in Console app.
The team that has access to the full code base for the app in question ( Apple) is best situated to make sense of these crash reports:
- https://developer.apple.com/documentation/xcode/analyzing-a-crash-report
Depending on if the console app has some relevant errors logged and combined with how you are using the Mac when the process ends, you might have a chance to isolate what causes or contributes to this or have to reverse engineer or work with Apple to analyze these files.