E.g. "X race/gender/sexual orientation are bad for the society for reason Y, and therefore they should be treated with Z (a negative consequence)"
So intending to call out harm because of certain inherent characteristics a group of people have, and such characteristics that are not harmful for the society.
Currently there is an ongoing court case regarding the case where a person criticized and made offensive statements about Muhammad, and if that should count as inciting violence or general harm against Muslims. One side is arguing that any negative statements about Muhammad is veiled statements directed against Muslims as a group, and the other side is arguing it is criticism against the religion and not about people who believe in that religion. People did similar arguments with Monty Python movie Life of Brian.
When it comes to symbols like flags, people often characteristic any action (positive and negative) as a form of hate speech if they dislike it, or as important symbolic gestures when they like it. Burning flags get often called hate speech, and forbidding people from waving flags (including general rules against all flags for specific events) has also been called hate speech.
1. Criticising a religion != hate speech, or generally making fun of or criticising any sort of religious figure like Muhammad or Jesus != hate speech.
2. Calling out for a group of people of certain religion to have X negative consequences = hate speech.
The logic is:
1. Has to be harmful for a certain group of people with certain inherent traits.
2. Has to be harm that would be generally considered harmful by most groups if they were on the receiving end. E.g. reducing pay, sending people out of the country, violence, etc.
Most people would find it harmful to be forced out of their living place, but not all groups would care about how "holidays" are called or find it a basic right.