Can children inherit parents' fears?

Can children inherit parents' fears? For example, if someone afraid of dogs has a kid, and that kid were to be raised by someone other than that parent, would they be afraid of dogs too? Is it a genetic thing, or what? I'm just curious. (: Thanks!
3 answers 3