Interspecies Conviviality

Bird (jay) patiently nudges a hedgehog out of the road (so it won't get hit by a car?).  What kinds of thinking would this involve?