Your brain outsources memory when you take pictures instead of seeing the scene directly, which makes you remember less information than you would otherwise. It's called the photo-taking impairment effect.