while I'm very far from subscribing to the idea, yet there is for example that scientifically looking article arguing for the genetic instead of the cultural transfer in humans of the skills of making of those stone handaxes. Would some future scientists argue for the genetic transfer of python programming skills in the humans of the 21st century...
I can't remember where I read it, but I remember a similar study with rats. Previous generations were shocked when interacting with something specific. Current generations seemingly already knew not to interact with that object. I think they even expounded to study the effects on rats born within an entirely different locale too.
as I don't believe in the genetic transfer, the only other way it seems to be is that the older rats would be telling youngsters a tale of "a shiny prongy thing which gives a painful scare on touch", and such possibility seems very fascinating for me.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5066817/