Window management is one thing that MacOS has long been weirdly bad at.
I think there's a conflict between the users who use it on studio displays and users who use it on 13 inch laptops. The Mac team at apple won't pick a side or come up with two solutions.
That's not completely true, they've been pushing swipe between fullscreen apps for a while.
But that doesn't make any sense on an iMac.
So the recommendation from pro users is to use Alfred to manage windows.