This should only happen on the first sync with a computer. Once you click Trust, the next time you plug in the iPhone to that computer it shouldn't ask again. If it keeps popping up it maybe a bug in iOS 10 that's effecting a small group or it may just be residual garbage files from a previous backup and a wipe/restore can fix. I'd wait to see if it continues in iOS 10.1