Ok, here's my serious answer, I just woke up in a good mood, the other morning.

pardon moi
I've often thought it a learned trait, but seems there's something "instinctual" about it, as well.....
It's like animal instinct, that we don't develop.
How do, say different birds, know how to build and weave intricate nests. Different species make different nests, with little or know "clear" instructions from the parent. Some animals even survive being abandoned at birth, yet they survive, some even thrive, some don't.
Perhaps the first yr attempt at nest building, like anything we humans attempt, are rudimentary and there's a learning curve. Sometimes new momma animals are not the "best" mommies, mistakes are made, things happen....... but it seems the natural evolution is that, creatures learn. I guess from there, the knowledge goes, collective consciousness/cosmic/holographic/Akashic.
It's also like, imo, the dynamic engrams, we're born with or are activated upon discovery of life(such as balance)...... then as we improve and refine our "instinct" we were born with, we are able to teach ourselves.
From there on out, it's kinda sink or swim, all through life....... isn't it?