Auto-translated
The mechanism is simple – there are many griffins, so they believe the battle is already won. Consequently, they attack those who are more dangerous (in their opinion), while also considering the possibility of surrender.
No, that's not quite right; the danger plays a secondary role. Griffins, dragonflies, dragons, and the like seem to be trying to attack with maximum efficiency, so protecting archers, even if it means sacrificing 20 level 1 units, is considered a good move.