Sometimes I've healed enemies... target selection in the game is a bit wonky. So imagine if the AI has the same problem ^_^.