The PRC treatments of the Uyghurs is political
https://en.wikipedia.org/wiki/Freedom_of_religion_in_China#Islam
The State Administration for Religious Affairs places the number of Muslims in China at approximately 21 million, while independent estimates suggest the number could be upwards of 50 million.[5] According to a 2000 census, 96 percent of 20.3 million reported Muslims belong to three ethnic groups: Hui, Uyghur, and Kazakh. Most Hui Muslims live in Ningxia, Qinghai, and Gansu provinces, while Uyghur Muslims are found predominantly in the Xinjiang.[5]
The state-run Islamic Association of China (IAC) oversees the practice of Islam, though many Muslims worship outside the state system. The IAC regulates the content of sermons and interpretation of religious scripture, exercises control over the confirmation of religious leaders, and monitors overseas pilgrimages. In 2001, the IAC established a committee to ensure that scriptures were interpreted in a manner to serve the interests of the Chinese government and Communist Party.[2]
Authorities in Xinjiang impose rigid controls over religious expression, particularly over Uyghurs. Human rights reports indicate that crackdowns on religion are frequently integrated into security campaigns.[2] Authorities monitor mosques, restrict the observation of Ramadan by government officials and students, and enact campaigns to prevent Uyghur men from wearing beards.[2] Uyghur Muslims worshiping independently have been detained and charged with conducting "illegal religious activities."[5]
However, the suppression of the Uyghurs has more to do with the fact that they are separatist, rather than Muslim. China banned a book titled "Xing Fengsu" ("Sexual Customs") which insulted Islam and placed its authors under arrest in 1989 after protests in Lanzhou and Beijing by Chinese Hui Muslims, during which the Chinese police provided protection to the Hui Muslim protestors, and the Chinese government organized public burnings of the book.[18][19][20][21][22][23][24][25][26][27] The Chinese government assisted them and gave into their demands because Hui do not have a separatist movement, unlike the Uyghurs,[28] Hui Muslim protestors who violently rioted by vandalizing property during the protests against the book were let off by the Chinese government and went unpunished while Uyghur protestors were imprisoned.[29]
In 2007, anticipating the coming "Year of the Pig" in the Chinese calendar, depictions of pigs were banned from CCTV "to avoid conflicts with ethnic minorities".[30] This is believed to refer to China's population of 20 million Muslims (to whom pigs are considered "unclean").
In response to the 2015 Charlie Hebdo shooting Chinese state-run media attacked Charlie Hebdo for publishing the cartoons insulting Muhammad, with the state-run Xinhua advocated limiting freedom of speech, while another state-run newspaper Global Times said the attack was "payback" for what it characterised as Western colonialism and accusing Charlie Hebdo of trying to incite a clash of civilizations.[31][32]
Different Muslim ethnic groups in different regions are treated differently by the Chinese government in regards to religious freedom. Religious freedom is present for Hui Muslims, who can practice their religion, build Mosques, and have their children attend Mosques, while more controls are placed specifically on Uyghurs in Xinjiang.[33] Since the 1980s Islamic private schools have been supported and permitted by the Chinese government among Muslim areas, only specifically excluding Xinjiang from allowing these schools because of separatist sentiment there.[34]
Although religious education for children is officially forbidden by law in China, the Communist party allows Hui Muslims to violate this law and have their children educated in religion and attend Mosques while the law is enforced on Uyghurs. After secondary education is completed, China then allows Hui students who are willing to embark on religious studies under an Imam.[35] China does not enforce the law against children attending Mosques on non-Uyghurs in areas outside of Xinjiang.[36][37]
Hui Muslims who are employed by the state are allowed to fast during Ramadan unlike Uyghurs in the same positions, the amount of Hui going on Hajj is expanding, and Hui women are allowed to wear veils, while Uyghur women are discouraged from wearing them.[38]
Hui religious schools are allowed a massive autonomous network of mosques and schools run by a Hui Sufi leader was formed with the approval of the Chinese government even as he admitted to attending an event where Bin Laden spoke.[39][40]
"The Diplomat" reported on the fact that while Uyghur's religious activities are curtailed, Hui Muslims are granted widespread religious freedom and that therefore the policy of the Chinese government towards Uyghurs in Xinjiang is not directed against Islam, but rather aggressively stamping out the Uyghur separatist threat.[41]
Uyghur views vary by the oasis they live in. China has historically favored Turpan and Hami. Uyghurs in Turfan and Hami and their leaders like Emin Khoja allied with the Qing against Uyghurs in Altishahr. During the Qing dynasty, China enfeoffed the rulers of Turpan and Hami (Kumul) as autonomous princes, while the rest of the Uyghurs in Altishahr (the Tarim Basin) were ruled by Begs.[42] Uyghurs from Turpan and Hami were appointed by China as officials to rule over Uyghurs in the Tarim Basin. Turpan is more economically prosperous and views China more positively than the rebellious Kashgar, which is the most anti-China oasis. Uyghurs in Turpan are treated leniently and favourably by China with regards to religious policies, while Kashgar is subjected to controls by the government.[43][44] In Turpan and Hami, religion is viewed more positively by China than religion in Kashgar and Khotan in southern Xinjiang.[45] Both Uyghur and Han Communist officials in Turpan turn a blind eye to the law and allow religious Islamic education for Uyghur children.[46][47] Celebrating at religious functions and going on Hajj to Mecca is encouraged by the Chinese government, for Uyghur members of the Communist party. From 1979-1989, 350 mosques were built in Turpan.[48] Han, Hui, and the Chinese government are viewed much more positively by Uyghurs specifically in Turpan, with the government providing better economic, religious, and political treatment for them.[49]
The Uyghur terrorist organization East Turkestan Islamic Movement's magazine Islamic Turkistan has accused the Chinese "Muslim Brotherhood" (the Yihewani) of being responsible for the moderation of Hui Muslims and the lack of Hui joining terrorist jihadist groups in addition to blaming other things for the lack of Hui Jihadists, such as the fact that for more than 300 years Hui and Uyghurs have been enemies of each other, no separatist Islamist organizations among the Hui, the fact that the Hui view China as their home, and the fact that the "infidel Chinese" language is the language of the Hui.[50][51]