Hey there! I'm happy to help!
Ethically produced means that a product was produced or a service was completed in a moral way and without infringing on the rights of others.
This phrase does not apply to sweat shops. These were places with unsafe and poor working conditions where workers were worked to their max and received low wages. The leaders of these companies were so concerned about profits that they did not take into account the well being of their employees. This is definitely not ethical, so products produced in sweatshops were not ethically produced.
Have a wonderful day and keep on learning! :D