Your colleage's behaviour as you describe it should make your warning bells ring. It can have detrimental effects on the working climate in your team. Not only the managers can be influenced by this kind of behaviour.
If this behaviour comes up, there is most likely a conflict, and it should be resolved as soon as possible. First you should talk to him as already mentioned in a comment. Ask him why he was so aggressive/sarcastic against you. Ask him if he has a problem with you. Tell him that this kind of behaviour is not acceptable for you, especially because he seems to be doing this in the presence of other colleages (this seems to be the case, because of your example where he points at you).
Maybe you should as a second step talk to your boss and your colleage about this in a three-person meeting.
If this won't stop him from behaving like this, and the working climate in the team has worsened due to his behaviour, I would try to resolve it in a team meeting with your team and your boss. Tell them what happened and why this is not acceptable. Ask him to stop this.
If this won't work either, there is also the possibility to hire an external mediator.
Good luck.