The Apple Notes app in macOS is weird.
If you close the window before quitting the app from the Quit menu, the next time you re-launch it, it will open the app but the window remains closed. You have to click the Notes app icon again from the Dock to bring up the window.
Opening Notes in macOS can be a 2-step process.
I can't find another app that works like this.