The pandemic wiped out up to 100 million lives, but scientists still struggle to explain what caused it. The answers could ensure that it never strikes again