MacBook Pro keeps freezing and shutting down repeatedly
My MacBook Pro (13-inch, 2016, Two Thunderbolt 3 ports) keeps freezing up and shutting down without notice. Upon restart it says the MacOS has had a problem. I've "reported" the problem to Apple but it doesn't tell me more about the problem. The details only reveals a bunch of code. It is fully charged and the updates are current. Please advise
[Re-Titled by Moderator]
MacBook Pro 13″, macOS 12.7