Mostly they're just stolen. You don't tend to see large rings of straw purchasing because there's no profit in it. Nobody is going to pay full price for a gun just to sell it do some banger thug at a discount.
Other countries aren't this one. This one has never seen an improvement from gun control laws. Yes, American exceptionalism; we have an exceptional amount of guns in circulation.