To have a chip on one's shoulder refers to the act of having an ego or being arrogant that readily provokes disputation.