Similar to a problem what India and Pakistan faced back in 1947, the Muslims in China too demanded a separate nation. The Islamist problem of Chine started when the Uighur Muslims wanted to form their own state to be governed by Sharia law.
This is when China woke up.
They realized that if their nation must succeed, people in the country need to support this goal. China realized that people demanding a separate country and shouting slogans against the very ideal of a country could not go hand in hand.
Several sources in China said whatsoever action was initiated was only to ensure China succeeded in the long run.