How do you explain altruistic behavior, if in the act of dying for another, all your genes die with you? If you happen to lack a neo-cortex and higher moral thought, how would this behavior proliferate?
By learning, thats how altruism usually works, its a conscious choice, like being selfish. Its why martyrdom, for example can be contagious, if it is taught as a "good" philosophy and deplored if it is taught as a "bad" one. The perception is all human.