Let me explain, this "group", the so called Uyghur, happens to be a Muslim minority in China. That's why they clash with the mainstream Chinese culture. Thailand itself has it's own issues with Muslim separatists in the South, they often resort to explosions, violence. So, at least some of the Thai Muslims identify with the Uyghur groups, so they carried out the attack to the Erawan shrine.