Because you said so in System Preferences.
There is only the opposite: "Set all app windows to close when quitting apps"
I currently use a 3rd party app to close for me apps when I close all of their windows.
edit: Is there an option now in the MacOS Big Sur to enable this? I have a 3rd party app to achieve so.
Because you said so in System Preferences.