It has to do with the risk and impact of your work.
Medical doctors, engineers, lawyers, researcher, teachers - they all do important things and need training, selection and accountability.
Luckily, developers never have to write MCAS software for Boeing, so we can hang out on HN where you can be a Senior Engineer after a 6 months bootcamp and 2 years of stack overflow.