This exact thing happened to me - leading to a guided crash landing and thankfully, only a $50 repair. It is the battery. The battery needs to be 56 degrees Fahrenheit (15 C) for safe use. Go back and look at the flight
to see if this warning briefly appeared. In reading DJI info, it really should not have allowed me to take off.
I now keep a battery with me indoors if the drone is left in the car.
I remember I checked the battery temperature and it was around 17C before flight. The drone was stored at home and only moved outside to complete a short flight.