Sometimes arrogance, but I'd bet the majority are just average people who ordinarily did their jobs just fine - or else they wouldn't have been hired in the first place - but then they succomb to basic human weakness and do some stupid sh!t in the moment. The real mistake is not owning up to that, and then spending an inordinate amount of energy trying to justify or cover up the first, and usually smaller, mistake.