Something i noticed many times is if you been in combat with something with one of your soldiers they refuse to let go of that target and keeps running back even tho your people are sent back all the way from the base.
In this case it was an attack on the goblin camp i had to retreat but my soldiers wants to keep going in to suicede which feels like a very strange behavior