Even if he isn't her "boyfriend", brother or anything it's still a man's duty to help a girl who's being harassed by a punk ass such as him.
Would you people just let it be if girl was attacked by asshole just because she isn't related to you. What sort of logic that guy use i still don't get...