The suspect told police the incident stemmed from a dispute over the sale of a gun.