I think the decline of software went hand-in-hand with the decline of the native indie Mac app. They still exist, but when I started with the Mac (2007), there was a very rich ecosystem of native Mac apps. Most stood head and shoulders above their Linux and Windows counterparts.
Apple has nearly destroyed that ecosystem with: race-to-the-bottom pricing incited by the App Store; general neglect of the Mac platform (especially between ~2016 and Apple Silicon); and a messy reactionary toolkit story with Catalyst, SwiftUI, etc. The new toolkits seem to imply that Apple says that it's the end of AppKit, but most SwiftUI applications are noticeably worse.
With their messy toolkit story and general neglect, developers have started using Electron more and more. Sure, part of the popularity is cost savings, since Electron apps can be used on multiple platforms. But part of it is also that a Catalyst or SwiftUI app is not going to provide much more over an Electron app. They will also feel weirdly out of place and you become dependent on Apple working out quirks in SwiftUI. E.g. 1Password tried SwiftUI for their Mac app, but decided in the end that it was an uphill battle and switched to Electron on Mac instead.
I recently bought a ThinkPad to use besides my MacBook. Switching is much easier than 10 or 15 years ago, since 80% of the apps that I use most frequently (Slack, Obsidian, 1Password, etc.) are Electron anyway. Even fingerprint unlocking works in 1Password. I was vehemently anti-electron and still don't like it a lot, but I am happy that it makes moving to a non-Apple platform much easier.