The path taken did not traverse the boundary of every atom along the way, or even every grain of sand.
Even if it had, the airtag location service is not accurate enough to have detected that.
Even if it had, the airtag location service is not accurate enough to have detected that.
The "fix" is to smooth those details as the straight line distance grows bigger.