Did it cause inquality in china? I would say yes, it is not hard to see that the gap between the well off and struggling has increased alot for the last 20 year, I don't you can dispute this fact, as shown by the official figures attested by the increase in migrant workers and crimes in the major cities.
So one might argue that liberalisation of the economy which started in th 80s is the cause of such, instead of globalisation. but the fact is the coast which conducts most of the interactions foreigners and where most of the factories are located benefited the most. Living expenses in shanghai and beijing can international level (well not quite.. you do can live cheaply), while it's often reported that people from the countryside live on less than a dollar a day (which ofcourse is more than that at PPP). There's also a big contrast inside a city. If you ever been to shanghai(disclaimer I am not from shanghai) you can find actually find very poor houses right in the little alleys around nanjing road.
Almost anything that increases economic freedom will naturally increase inequality(as defined appropriately). The smart people will float to the surface, with many sinking to the bottom. You can do a simple theoretical analysis on this.
Roughly what happens when you open trade is that some things are worth less coz other countries are better at it, and some are worth more because there's a higher demand/price willing to be paid by the world market than domestic demand. This often increase inequality because the society is not homogeneous.
Ofcourse none of this says that globalisation doesn't increase income for all, it just suggests that the increase some receives is highers than some others.