In constructivist learning theory, Piaget describes two cognitive processes: assimilation and accommodation. When we assimilate, we fit new experiences into existing mental models. When we accommodate, we revise existing mental models to fit new experiences. The behaviors you describe arise from a failure or unwillingness to accommodate.
I’m a former middle school teacher and I’ve had some success encouraging students to accommodate both inside and outside of the classroom. I hope that, with articles like yours, more people will take a look at this important issue.