Meaning of “give sb a hard time” - Learner’s Dictionary

give sb a hard time

to criticize someone and make them feel guilty about something they have done:

Ever since I missed the goal, the other players have been giving me a hard time.

(Definition of “give sb a hard time” from the Cambridge Learner’s Dictionary © Cambridge University Press)