How can the health software on Apple's mobile phone display different data when two people walk the same road?

It is normal that data positioning cannot be 100% accurate, resulting in individual gaps.

The mobile phone determines how many steps you have taken according to the vibration. Even holding two mobile phones at the same time, the vibration can't be the same. The movement of the human body does not have the same vibration, so it will have different displays.

Apple mobile phone is equipped with three-axis gyroscope and other instruments. It can calculate the steps according to the vibration of human body, but it is not 100% accurate.