I am a layman who recently read Selfish Gene.
In it RD says that we animals (including humans) like/love take care of their offspring because offspring have 50% of the their genes, since the purpose of life is to propagate your genes.
I am proposing a thought experiment to challenge this.
So, if parents love their children because children have 50% of their genes, what if we secretly switch babies at birth. Parents don't know that the baby was switched. But won't they love, take care of the baby anyway. So, the baby now will not have any genes of the parents but still parents will love the kid because they THINK that the kid is theirs.
So, doesn't this show that RD is wrong?? Parents like their children not because they share 50% of their genes but simply because of a psychological reason of THINKING (not knowing) that the kid is theirs.
Same for animals. If we secretly switch an egg of a bird with an egg of another bird of the same species, the bird will not know it was switched and regard the hatchling as one of it's own and show the same care and love as she would for other hatchlings.
Is my analysis correct or is there something we layman don't know which makes my thought experiment flawed???