Sounds like a form of dissocation in order to take care of yourself and kep yourself safe, sort of like a guard dog mode,
I do this myself as well when in high tension or stressful situations, or when I'm aroudn people I don't trust, I sort of kick into cold and logic and keep hyperviglant, I call it "survivor" mode.
Hope this helps
Love
Typo