Why would most of the industry in Mexico be near the biggest city rather than out in the countryside?

Industry means factories, and they don’t take up much room.
Industries need lots of people to work in them, and cities are where you find lots of people.
The government wants most of the pollution to be near where most of the people live.
The countryside is too beautiful to spoil with factories, so they aren’t allowed out in the country