A more official solution wouldn't come until MultiFinder in 1987, and that was originally limited to one foreground and one background application. Wikipedia says:
"When an application is activated, all of its windows are brought forward as a single layer. This approach is necessary for backward compatibility with many of the windowing data structures that were already documented."
"With the release of System 7 [in 1991], the MultiFinder extension was integrated with the operating system, and it remains so in Mac OS 8 and Mac OS 9. However, the integration into the OS does nothing to fix MultiFinder's inherent idiosyncrasies and disadvantages."
By the time that OS X came out in 2001, the menu bar being at the top of the screen, and switching with the current app, was fully entrenched. After all, OS X initially had no native apps, still emulating the old OS 9 environment, and Carbon (essentially recompiling a "classic" Mac OS 9 app with relatively minor changes) would be the dominant API for some time too. Indeed Carbon wasn't removed until macOS 10.15 Catalina in late 2019.
The benefits seem less obvious with modern hardware like SSD’s, but it is still a net benefit once you’re used to it.