For me this is really annoying as well, together with the stupid
text input fields that may display a blinking cursor even when
they're not focused. And Firefox has this weird issue that now
and then a newly opened tab doesn't focus the address bar,
forcing me to use the mouse to select it.
And I still don't get this trend in some newer software to make tab switching via Ctrl-[Shift]-Tab feel like the lottery instead of just going to the one on the left or right. There's a reason we can reorder tabs by dragging them around, and a reason our keyboards have more than just those three keys, and "fidget cube replacement" is not it.
Sometimes I wonder if the UI designers never use their own products or just aren't aware that building habits for chains of workarounds should not be the normal way to interact with computers. /rant