I find window management in macOS to be fundamentally broken. I heavily organize using workspaces and I don't understand why it does the things it does. Windows are opened on workspaces that aren't active and where those windows have never been present before. Changing workspaces on one monitor and activating a window will cause a different monitor's workspace to change (because that app had a window there). Sometimes newly opened windows appear with ~5 pixels visible on the screen (versus where that window was previously).
It feels haunted or possessed by demons. Like it's a middle school bully trying be as frustrating as humanly possible.