not a bug, the ai just seems weird like that, as everyone said, on higher difficulties random mobs will spawn and attack them while youre trying to pacify new ones, and it gets hectic. if you ever have your chocobo companion out for these, dont forget to command them to "follow" as theyll also continuously attack the harmless pacified mob until it is dead and you have to wait around for a new one to spawn