Differentiate is clearly the correct word. He was probably just confused - or not quite awake. I make similar mistakes on occasion, particularly when I first wake up or when I go long periods with insufficient sleep or when I'm distracted.