I would have considered his fault if you’ve been quite and be gentle but I could see you’ve been insulting him back which makes it equal at both sides. If you aren’t liking his behaviour towards you, you are not supposed to insult him the same way as he did. Just let him know, you are ending this abusive stuff with him and he will stop. However, I will have a word with tic.