Maybe I'm just seeing things here but the two videos here seem to have something in common. The Mavic tends to dive in an attempt to "catch up" to a shrinking bounding box especially when the subject turns. Notice how it does so well when the subject is the same angle and then when a corner of the subject begins moving away it appears the Mavic thinks that corner is getting smaller when really it is just going out of sight away from camera view. A shrinking bounding box would mean subject is further away but that's not always the case.
Logs, to my untrained eyes, look OK to me. If you're able to reproduce this, could you record your screen?