The bug is activated when users exit the YouTube or YouTube TV app after watching in fullscreen mode.
The issue only seems to happen occasionally.
Since it launched back in October 2022, the Pixel 7 series has dealt with a number of issues. One of the most recent was a problem that broke auto Bluetooth pairing. A new issue that owners appear to have found causes the phone freeze when exiting the YouTube or YouTube TV apps.
According to 9To5Google, some Reddit users are claiming their Pixel 7 and Pixel 7 Pro are running into a bug. The bug appears to be causing the phones to freeze and restart after attempting to exit the YouTube or YouTue TV app from fullscreen mode.