I definitely had the bug when double-tapping the app switcher on my Pixel 4a, but I never had that problem on my Pixel 7 Pro, nor this one:
For example, Google Pixel owners running alternative launcher apps can’t use the “select” feature seen in the Pixel Launcher’s recents menu, which allows users to select text and images in any app.
This may not be helpful to you in particular, but I wanted to throw this out there.
I don’t like Auto Rotate because apps can undesirably rotate when the phone is in odd positions. However, I think it’s great for video apps, camera apps, and photo galleries.
Auto Auto-Rotate fixes this. It’s free and open source. When you toggle the Auto Rotate setting on or off, you’re doing it for just the current app!
So now I just rotate my phone the way I want and YouTube matches. No need to hit the full screen button.
Also, if you don’t know, in the YouTube app you can swipe a video up to make it full screen without having to use the full screen button. Of course, it’ll rotate the “natural” way first, which is what’s annoying you. Just thought I’d mention it. I sometimes use that feature when my phone is flat on a table while I’m eating or something and I don’t want to pick it up to engage auto-rotate.
To work best, Auto Auto-Rotate equires a persistent notification, but even with that off, it will work for a long time before you have to relaunch the app. Battery optimization for the app should be off, of course.