There was an article I saw recently—in the New York Times, I think, but I don’t remember when—that linked yawning and empathy. That is, people who were more empathic were also more likely to yawn when someone else did.
This doesn’t give a full answer, of course, but it’s a suggestive correlation.