Police said the 18-year-old man was moving the gun because it was bothering his girlfriend, and she was hit by the bullet when it went off, according to reports in Arizona.
Amanda Mosley, 24, was rushed to a hospital but died of her injuries.
Police said the shooting appeared to be accidental, but Maricopa County prosecutors are still looking into the case, according to a Phoenix television station.