I can approve this since I was that person. Human interaction is tiresome and hard, buying candy for coworkers is cheap. That way you're not the creepy nearly schizoid person who never leaves their cubicle, you're the person who brings candy.