Maybe he wasn't trying to race. Could he have been pissed about something you didn't know you did?
It is possible he was just a douche. I personally wouldn't have even stooped to his level. I don't think he would have picked up your part of the tab if the po-po popped you guys for street racing