Have a Chip on One’s Shoulder

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

Definition:

To harbor resentment; to have an angry attitude

For example:

“Jared still has a chip on his shoulder because he didn’t get the promotion last year.”