Because if they are nice and have a positive attitude, it always helps people feel better therefore be able to focus better and get better grades.
Litterally learned about this in Critical thinking