Those who undervalue this don’t realise that the Mac menu bar is also the standard mechanism for defining keyboard shortcuts; as long as it has an entry in the menu bar, it can have keyboard shortcuts assigned and even reassigned from System Settings.
There’s incentive for the menu bar to be properly populated with all the functions that a program offers. Mac users expect it.
Compare with non-standard Mac apps (mainly Electron apps or ports from other OS), modern Windows apps, and many Linux apps where the menu bar is often a second class citizen or completely absent, leaving you to the whims of the developer rather than enjoying conformance to a system-wide standard.