If you're a key component (welder) in a high priced product (ship), the builder can compensate you $$$$ and still win. So they do.
You can temporarily have unreasonably high pay (higher than value added), but eventually the market will figure it out. The only way to make outsized returns your entire career is to find a supply-limited, high-value-add niche.
My understanding is that it's dangerous and few want to do it.
Yeah this is the part everyone is ignoring in the conversation. Many highly compensated physical labor jobs are highly compensated because of the associated risk. While being a developer (with exceptions) doesn't expose you to any physical risk.
but I don't think tech compensation is high because of risk of this type of injury.
vs underwater welding, where the types of possible injuries have greater impact on overall health.