Humans often aren’t much better, making up a rational sounding argument after the fact to justify a decision they don’t fully understand either.
A manager might fire someone because they didn’t sleep well or skipped breakfast. They’ll then come up with a logical argument to support what was an emotional decision. Humans do this more often than we’d like to admit.