take against

中高级 (B2)informal

Start to dislike someone, sometimes for no clear reason

"For some reason, the teacher seemed to take against him from the very first day of term."