Yeah, I think it's something to do with how spread out your characters are. like one character is far enough away from hostiles to escape, but still close enough to your other characters that you're pulled back into battle. Happens really easily when you have a lot of raised dead on your team.