I think we inherit mental illness and I think perhaps when environmental issues factor in, like getting teased or abused, it can make us more vulnerable to suffering from something like social anxiety if it's a common thing in the family to have anxiety, depression, etc.