Minny is partly right. This situation is made by the demand, but more specifically, it is from the domestic demand or the regional demand.
For manufacturing a high quality product, the most critical part is that you need use equipment to replace human power. Or in other words, using automatic manufacturing instead of manual manufacturing.That means you need to invest more money in one time capital investment. It does not matter you place your plant in China or U.S.
To earn this investment back, you need mark this product a higher price than the manually produced ones. Then, to sale these products, only depending on sourcing products to NA or Europe is not enough because that also cause an additional cost for the long supply chain.
So, you need domestic consumer or Asia regional consumers. But, the current average income of people in China is significantly lower than the people in NA or Europe. ( per capita GDP China versus U.S.---$6,094 versus $49,802)
After all, products from China has a lower quality on average because of the domestic demand in China is not that bigger yet.
BTW, for the products which can only be manufactured manually or specially demanded, "made in China" does not mean low quality.