Harassment

Harassment is a form of bullying.

It relates to a protected characteristic or assumption the person has a protected characteristic. 

It can also be linked to it, so homophobic language used towards someone because they have a gay friend would also be harassment.

It is essentially “illegal bullying”.