In the end, the pay for both of those careers is kinda complete shit for what you do to get the degree, unless you manage to happily completely bullshit yourself through everything and don't let it weigh on your conscience.
SWE is... arguably easier than both Mech E and Elec E in my mind, and the option for remote work has always been much, much higher. And the starting pay is... about 2.5x more, at a minimum, to begin with - and if you want to be a dick, and know how to interview FAANG and the like, you can hop company to company, do basically nothing and make that pay for 4-6 months before you're found out. And not to mention the benefits...
I can't understand why there's not more of an outrage. It's insane. I simply can't tell any high schooler that an engineering degree outside of SWE, and maybe a highly focused aerospace degree, is worth it for the foreseeable future.