China was at that time a matrilineal society, and in fact the Chinese word for surname, hsing, [姓] is a composite of the characters for "woman" [女] and "birth," [生] and can be literally explicated as "the child to whom a woman gave birth."
當時的中國還是母系社會，「姓」這個字本就是「女子所生」。