Q:

If a person in a group of people starts to yawn, why do other people start yawning as if it was contagious

Answer

Yawns are contagious because at one time in evolutionary history, the yawn coordinated the social behavior of a group of animals.