Why does my baby cry when she yawns?

My baby is 1 months old and whenever she yawns(not all the time) but she cries and stops like in the middle of her yawn like it hurts, why does she do this?