Many things can cause a cat to become fearful, such as:
Lack of socialization as a kitten
Being the target of aggression by other animals
Being the target of abuse
Stressful living conditions (too many cats, dirty conditions, tense family environment, etc.)
A move to an unfamiliar environment (new home, being relinquished to shelter, being rehomed, etc.)