Researchers found significant short-selling of shares leading up to the attacks that triggered the Israel-Hamas war.