This. in particualr to maybe why the ai does what froggy highlighted in his recent video about bugs in the ai. Could the ai be locked in and "auto-explore mode" and gets itself killed ? i would imagine the 2 phenomenon are related.
I never use auto explore so i can't say anything about - although i would expect an exploring unit to have a highly developed sense of chickenness and stay away from enemies - and at some point give a message report saying its run out of safe areas to explore.