Give (someone) a hard time

To tease someone, to make trouble for someone.

The new supervisor is giving me a hard time.