When somebody goes outside the cultural norms, the culture has to protect itself.
Cultures are not the source of all morals, only a limited set of morals. Cultures can be graded and judged morally according to their contribution to the evolution of life.