based on the information you provided, it seems like your best friend might be using a tactic known as "reverse psychology."
Reverse psychology is a psychological technique where someone tries to influence another person's behavior by encouraging them to do the opposite of what they want them to do. In this case, your friend might have been trying to provoke a reaction from you by challenging you to hit him, hoping that you would choose not to do so and thereby diffusing the situation.
It's essential to handle conflicts and disagreements in a constructive and non-violent manner. Physical violence is never an appropriate solution to resolving issues between friends or anyone else. If you find that your friend's behavior is consistently aggravating or causing problems, it may be helpful to have an open and honest conversation with them about how their actions make you feel and try to address any underlying issues.
Healthy communication and understanding each other's perspectives are essential for maintaining strong and supportive friendships. If you feel overwhelmed by your emotions, it might also be beneficial to talk to a trusted adult, mentor, or counselor who can offer guidance and help in managing these feelings in a more positive way.