A wild cannibalistic sexual behavior in spiders has a simple genetic explanation, new study finds.