Usually it means the pay is crap, the schedule is bad and nobody is willing to invest into training. Why should young people select such career?
It also has much better and more predictable hours than, say, the ever-popular gaming industry.
You're right that low pay is an issue, but pay is crap in part because of outsourcing. Any machine shop in the US is competing with China to an extent that, oddly, we don't actually see in the software space. The West is mostly using Western-made software, and outside of that, only India is invited to the club (and even that only as a subcontractor).
But a lot of it is also just culture / parenting. Every parent wants their kid to become a software engineer, a lawyer, or a doctor. There's basically zero pride in being a machinist.