"Having a chip on your shoulder" implies the person is holding onto an unpleasant past experience.