Threshold effect. When you enter a different area your subconscious will push anything aside so you can be ready for any threats there. Same reason you can walk into a room and forget why you went there. You know, in case there's a bear in the kitchen or something.