The idiom 'have a bee in one's bonnet' means to be obsessed with or have a problem constantly on one's mind. The speaker is indicating they're preoccupied with or fixated on a particular issue. A 'fly in head' and 'difficulty with hair' are too literal; 'headache' is a different idiom entirely.