I saw one commentator with substantial China knowledge mention a campaign to reduce the number of foreigners living and working in China is underway.
Hence the need to inflame local sentiments and point out non-Chinese as people with low morals and corrupt behaviour, as opposed to the law abiding local citizens and officials.