To Have a Chip on One’s Shoulder

What does the idiom “To Have a Chip on One’s Shoulder” mean?


To be combative, to be consistently argumentative

For example:

“John can be very difficult to get along with. He has a chip on his shoulder, and he’ll blow up at you over the smallest things.”