Combination of confusion and distraction; Confusion caused by distraction.
Sorry, I was constracted due to the interesting conversation those people are having, how did you fix this?
Have you figured out the problem yet? "No I was constracted."
So as to be too preoccupied with other thoughts that it becomes difficult to think straight
I was so constracted by her looks that the best line I could come up with was "Hello"