I was taught in school that yawning in response to someone else yawning is a kind of sympathy reflex, your subconsious is reading that someone else is suffering, in this case being tired.
did y'all see the study where the dogs that see there master yawn do the same thing as humans?.... that shit tripped me the fucc out.... yeah, its an empathy effect....