The pay is much cheaper but, so is the cost of living. We sell many factories just over the US border into Mexico that buy pine boards. There is a lot of furniture, kitchen cabinet doors, picture frames, etc. made in Mexico. Many of these factories are set up just over the border with 95% of the products sent back into the US. Some of the best kitchen cabinet parts are made in Mexico and then assembled in the US. This is all driven by the lower labor/manufacturing/benefits cost. Also, many of these manufacturers set up secure areas around their factories where they have armed guards to protect their workers and their families. They live, work, go to school all in these gated, walled, safe compounds.
Another fact that was brought to my attention recently is that Monterrey is now the second largest city in Mexico. Many people have moved there for work away from Mexico City and other places. I have a friend that grew up there but moved to the US(legally with green card) back in the 1990’s. His family still lives there. Monterrey’s population has grown by a million people in just the last few years. This growth is due to its proximity to the US and the manufacturing growth of jobs there in the last 5-10 years.
Probably 90% of those jobs used to be American jobs.