Why does he act like a jerk around you but nice to all the other girls?

Well he obviously is insurcure and uncomfortable arouns you and doesn't know how to act so he acts like a jerk. You need to talk to him and tell him how you feel. If he still acts like a jerk he isn't worth trying to be friends(or more) with him.