Why does he still say hi to me even after I’ve ignored him/didn’t look at him the day before that?

Why does he still say hi to me even after I’ve ignored him/didn’t look at him the day before that?
Post Opinion