Pay has nothing to do with how critical or important a job is. Nothing.
Pay is determined — like everything else — by supply and demand.
Nails are the most ‘critical and important’ component of a house. They are also the cheapest. Because the supply is endless. The chandelier in the entryway, on the other hand, is neither critical nor important, yet it costs a great deal more than a nail.
If the wages are too low, you’ll have a shortage.
To remediate the shortage, wages must increase.
The point here is, the situation should make us ask ourselves "huh, I wonder why wages aren't increasing." But I can save you some time and tell you the answer is mostly we don't think those jobs are high status enough.
>Pay has nothing to do with how critical or important a job is
Well yeah, that's the observation I was describing. The difference is that I think that's a bad thing.
>supply and demand
We aren't describing free markets, so you're going to have to fill that out a little bit to meet reality.
I'm compensated fairly, and my pension makes it actually quite well compensated. The career does suck and I wouldn't recommend it to anyone, but for someone needing mobility from generational poverty it can work.
The career opportunities upon retirement are nothing to be trivialized either. Compensation there may not be SWE level, but it's WELL above median.
Aside from monetary compensation (which can range widely, and typically is made up of 25-50% tax sheltered disability pay) there is health insurance at a maximum out of pocket of $3600/year for a family ($600 premium plus $3000 catastrophic cap), tax free shopping, discounted fuel, free flights, remarkably cheap lodging all over the US and in allied countries, and the list goes on.
The last calculation I saw for an average Senior Enlisted retiree was that you would need a lump sum of in excess of $3 million to hope to compare, invested at a decent return. Albeit that’s not completely accurate, but it’s as close as we can get given such different financial vehicles.