Sort:  

Maybe he was thinking that you had brought lunch and he was excited to see you!