I don't use Mac, but do use Windows. This sounds like Windows' Alt+Tab (switches windows/apps) vs Ctrl+Tab (switches between tabs of an app). Is it not the same?
* alt-` on macOS or ctrl-tab on Windows is to cycle between tabs/windows of the current app
* command-tab on macOS is to cycle between apps (the app will then elect which window to present the user)