Drowsiness or sleepiness:
Yawning commonly occurs when sleepy. There are some thoughts that yawning is actually stimulating and a counter-measure to falling asleep, but there is little evidence to support this. Yawning most likely occurs simply as a result of being drowsy.