Local labour laws allow this. Who's to say if it's internal or external pressures that keep them like they are -- there are certainly locals who are also making money off this.
As for what you can do, you can sew your own clothes.
I don't think local laws matter much. Those countries are simply poor. Unless they become wealthier, more stringent laws simply won't be followed and merely result in corruption.