A Chip On Your Shoulder

From UBC Wiki

Someone who is angry because of something that happened in the past.

Example: “He lost his game this morning, and now he has a chip on his shoulder.”