kicking (one's) head in
(informal) giving (one) unexpected scorn or insult when praise is expected.