Bad things happen. And the human brain is especially adept at making sure that we keep track of these events. This is an adaptive mechanism important for survival.