Uighurs are not persecuted "because they are Muslim". Hui, the second largest Chinese ethnic group after Han, are Muslim too. And they are not persecuted in any way.
Uighurs are persecuted for the same reason the CCP tries to destroy the Tibetan ethnic group.
Both these groups have strong independence movements that want to break away from China.