The Taiping Rebellion and the Muslim rebellions in China, have some similarities about the reasons why they occurred.
Both, the Taiping and the Muslim rebellions, were against rulers that were of other ethnic group, in the case of the Chinese it was the Manchu, in the case of the Muslims it was Han Chinese.
In both cases, the people were treated very badly, were neglected by the ruling class, and they got sick of it, thus wanted change.
In both rebellions there was lot of violence included with lot of casualties.