Nor does empathy suggest a physiological "reason" for yawning (after all, we yawn when alone), though Dr. Provine thinks that it may be "a response to and facilitator of change in behavioral or physiological state, " maybe synchronizing a group of people about to embark on a behavioral transition.
WSJ: Matt Ridley on Why You Just Yawned | Mind & Matter