The girl had a phobia of dogs. What is the cause?

Available choices: A. She rescued an abandoned dog. B. She was bitten by a dog.
B.