Allah granted Hawwa twins (boy and a girl) for every birth and they were ordered to marry from the other set of twins. This was permissible in their Sharia by Allah. It is Allah who permits and prohibits. These are no manmade laws that are dependent on the whims and desires of mortals.