The iPhone tracks all your movements using GPS, and keeps a record. Worse, that record is transfered to your computer when you sync your phone. Worse still, that record is persistent: when you migrate to a new phone, the record migrates with you.
Apple declined to explain what the hell they are doing.