I imagine the study-ers started with something like "hmm, these people have parasites and are getting COVID, we should see how big an effect giving them antiparasite medications has" and then went from there. Or maybe "we're throwing everything at the wall with COVID, this thing was involved in Nobel Prizes, lets try it to". Something like that. Maybe other things I can't think of. Proving up effect sizes is valuable in itself.