Keep in mind that our brains are made of meat that talks to itself via chemical reactions. Brains are not digital computers, and are very much an analog thing. Brains can and do make actual mistakes all the time. Like straight up "this computed incorrectly" or "there was a transmission error" kinds of mistakes.
Humans are not rational actors, and never have been. That's why economic theory so frequently fails to predict behavior in spectacular ways.