We see from the animal world that the young learn from their parents. So behavior is mostly learned by watching. At human level we learns instinctively but in addition we also learn by experimentation, and our individualism. I am reminded of riding the bike. A parent has obligation to teach the child, support when they stumble, and appreciate when they ride into the sunset, set them free.