I believe the psychological process involved is the malignant form of projection[1]. To give a metaphor: when I know myself that I've not been productive enough at work (and I secretly berate myself for it), I mis-perceive perfectly normal gestures of encouragement as personal attacks.