Nature vs Nurture. Of course your preference can develop as you are exposed to the society. But nature matters way more than nurture. Put two identical twins in the same environment with same education and they still will turn out vastly different.
You know even in that hypothetical
there are variables in that
maybe one was favored by the mother more or maybe one succeeded at getting a gf in school where one didt
these are just examples ofc but there are many factors which certainly would influence changes in behavior among twins
I dont think nature plays much of a part
there are people who have criminals as fathers or mothers yet they never end up murderers or rapists like their parents did qhich seems to indicate a greater preference on the nurture versus the nature