Why am I here?

It's called the doorway effect.
Open a door and you easily get distracted and forget why you opened the door; you forget the purpose.
How often do you open the refrigerator door, gaze inside and realise that you have no idea why you went to the refrigerator?

Here's why our brain gets confused