Because some guns differ even if they’re both 9mm. Glocks are atypical and use hexongonal rifling where most other guns use land and groove. That easily differentiates Glock vs non Glock.
The main thing is to match the wear patterns. As guns are used, the rifling wears. Like fingerprint, each wear pattern is random depending on the ammo previously used, debris, tooling imperfections. That shows up on an intact bullet. Get the gun that you think fired the fatal bullet and shoot another bullet thru. If the wear pattern is close, then you can reasonably say it’s probably the same gun that fired the fatal bullet
Latest Answers