It does matter a lot. Knowing the origin makes us able to try to prepare for it in the future. Specifically if it was a lab leak, we should put highly stringent procedures for conducting such research. Theses labs should be isolated far away from major urban areas, and have mandatory quarantine while leaving it... For example...