They weren't buried that way to prevent their spirits from coming back in the afterlife and haunting them they were buried that way to preserve their bodies so that other animals wouldn't dig up the graves or Even the possibility of other people looting the graves