Over millions of years of evolution, some beetles have learned to dampen the stench of decay to help their young thrive.