The incident happened in a Phoenix residential area only blocks away from a fatal shooting earlier in the week.
His phone had more than 3,100 images and videos of child sexual abuse material on it, a court document states.