There is a system-wide setting for this.
Apps and their windows might automatically reopen when you log in to your Mac or open each app. Here's how to control this behavior.
support.apple.com
See the headings "Prevent windows from reopening when you open an app"
and "Other solutions".
Also see:
On your Mac, quit apps to keep from using significant energy or to make sure they don’t reopen when you restart your computer.
support.apple.com
After the setting has been turned off, you may be able to enable it for a specific app by holding the Option modifier key while choosing Quit from the app menu, or Option-⌘-Q. I don't know if all apps support this automatically, or whether it's something an app's developer has to do.
As I noted above, the Option key often provides alternatives to menu items. Hold down the Option key while the app's self-titled menu is displayed, and see if the name of the Quit menu item changes.