M4 Pro just restarted with a problem error first time

Mac m4 pro bought when it was released, should I be worried? I just have many safaris open, YouTube music, native mail and notes app. I went to dinner and came back restarting.

Also does anyone have a problem with safari clicks opens two of the same tabs at once