This is not a macOS issue, it’s an app developer issue. If the app developer likes the behavior that the app still runs after closing the last app window, this is how the app will act. Some newer Apple apps close the application when the window is closed.
wrs|3 months ago
WD-42|3 months ago
fragmede|3 months ago