I would suggest it has to do with having social needs met, while volunteering is but one pathway to that end. The work makes us feel isolated, and sapped energy leads one to be complacently grounded in a hermetic sort of lifestyle. Taking the initiative to change your environment and commit to some planned social encounters shakes things up.