Question: what does it mean when someone scratches their head?
Answer: scratch one's head. Express puzzlement or perplexity, think hard, as in They scratched their heads over this vexing question, but no one knew the answer. Although literally scratching one's head may simply betoken the fact that it itches, it also may indicate mental mystification or bewilderment.