The way the kid is taught at home, school, and church or temple; or if any are missing. Things like hate are not just learned, nor in born. A family can have many different friends but the child can grow to hate one or two these friends by the actions of the friends toward the kid. My one aunt was loved by all except me: she always tormented and made fun of me and I hated her for it to the day she died. And all she and everyone else saw was she was being funny. It was no fun for me.