Humans attempt to consciously conceal aspects of themselves from others due to shame, or from fear of violence, rejection, harassment, loss of acceptance, or loss of employment.
Secrets are sometimes kept to provide the pleasure of surprise.