Health officials were struggling to answer a broader and potentially worrisome question: how the infection occurred.