I don't understand her intention of saying this sentence. Could you please explain?

Native speaker’s answer
Rebecca
In this script, "I know what makes you a boy" means "I know why you are a boy" or "I know what proves you are a boy." The little girl is expressing her opinion that the man's bald head is how she knows he is a boy.