There is hate speech, like when someone tells poeple how other people are not human and must be eliminated. Happened a lot, happening now in wars you read about.
This can be done from both sides. Examples:
Not sufficiently (for whoever) enforcing immigration laws? "Trying to eliminate the majority population, gradual ethnic cleansing".
Talking about deporting illegal immigrants? "The first step on the road to murdering people they don't want in the country."
And if the local judiciary or law enforcement is aligned with the interests of one side or the other, they can stretch the anti hate speech laws to use the legal system against their opponents.
You are seeing this EXACT thing in the middle east right now.