морочить голову

Etymology
lit. 'to trick (someone's) head'.

Verb

 * 1) to pull someone's leg