Why do people get afraid of things?

Depending on what they are afraid of, most people become afraid of something due to a bad experience with it in their past. This is the case with most phobias, although, some people can be afraid of something because they are new to it and become frightened.