ok I had a look at the log
1: when your phone disconnects, no data is recorded in the .txt log. So there is a gap in the data. so you did not just lose the video, you lost all connection i.e. the map display, distance etc. on the phone screen also don't work anymore correct?
iPhones usually work fine some common causes of phone disconnects are:
cable issue: (try different cable and try both side port of bottom USB port)
phone too slow: make sure to close unnecessary stuff on your phone
DJI Go 4 app issue: reinstall the app and try again
2: The following is just speculation on my part based on the log file. it looks like it did record the homepoint correctly. when you press RTH you were within a 5-20 meter (16-66ft) radius. in that case, when below 10m altitude, the drone will climb to 10m and then go home. You were flying very low, so it would have gone up. When the drone goes up it will appear to also go further away because it will appear to be smaller. Maybe this visual caused you to think it was flying away. Because of missing data we cannot see what happens next for 170 seconds. Then there are some jerky control inputs and finally some motor and speed warnings when it hits the tree.
here is the relevant part in the manual:
Assuming the remote is connected to the drone, pressing the pause button on the remote should stop the drone form RTH and make it hover, but in the log I did not see an indication this was done.
3: as a general tip: your flying is very "jerky". (A lot of quickly jamming the stick to one direction or another). I would try to fly more smooth, the sticks are not on/off switches, use more proportional control and use more aileron (roll).