It's a huge problem because when you consider what it's really doing (what people want from it) it's not much.
All people want from Electron is a GUI system that works on all platforms. In theory there are several libraries that do that but they lack the features people want (QT, GTK).
In a sane world, it will be a single dependency: the GUI library.
You have to be careful when you consider what the system is doing before you justify its complexity. It might be doing a lot of useless work.
For example, what does webpack do? esbuild has proved that webpack is useless and spends its time doing useless work. Bundling with esbuild takes a fraction of a fraction of a second, where as webpack can take anywhere from 30 seconds to several minutes. Yea, it's doing "work", but it's not the work you actually want to do.
All people really want from Electron is the render engine from Chromium and the V8 JS engine, but without the sandbox, so that it can access the file system and do a few other things.
How many of these hundreds of dependencies are contributing to that end? Very very few, if any.
The "modern" web frontend development environment is really bad. Making excuses for it does not help.