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."