AppKit (or swiftui I guess) is fairly simple. IB makes having a correctly behaving UI super easy - far more so than jumping through CSS hoops, and your app will behave correctly on macOS, which electron apps do not.
Electron apps are only easier if you don’t care about good UI, just “cheap cross platform”. It’s even more obnoxious when many of these “apps” can be loaded in safari and then interact properly with the rest of the system.
Electron apps are lowest common denominator apps where the primary goal is cheap rather than good. There is no user facing metric by which an electron app is superior to a native one: they’re slower, bigger, and use vastly more memory, and result in drastically worse battery life.