It's not surprising because her personality is a mixture of the internal factors, conduct and environmental factors.
Psychologist Albert Bandura presented the idea of Reciprocal determinism. This theory proposes that an individual’s conduct affects and also gets affected by personal factors and the social surroundings. The Psychologist also admits the probability that a person’s conduct might be conditioned by utilization of consequences.