idiom
give someone a hard time
критиковать или обращаться с кем-то сурово
Meaning
to criticize or treat someone harshly
Example
The boss **gave me a hard time** for being late.
Босс отругал меня за опоздание.