How social differences are based on accident of Birth?

Originally differences are based on accident of Birth. Normally we don’t choose to belong to our community. We belong to it simply because we are born into it.
Like, people around us are male or female, they are tall and short, have different physical abilities or disabilities. All are grouped accordingly in different communities.