When watching any YouTube videos on my pixel 9a in a browser window with vivaldi, I very often but not always get a loud and distorted speaker pop when the video ends. Reminds me of the pop you hear when you pull your guitar cord out of the amp input with the amp still on.
I don't use the YouTube app on my phone, I guess those who do don't experience this issue.