Villagers or wandering traders don't seem to run away from zoglins, even though the zoglins are zombified hoglins, which it means that the zoglins are a kind of zombie too (Hence the name is a portmanteau of "zombie" and "hoglin") and villagers should see the zoglins as a type of zombie due to their raving mad behavior of attacking almost any entity.
To reproduce
Spawn villager
Spawn zoglin
→ ❌ The villager stands there and not panic and run away from the zoglin's presence.
Linked issues
relates to
Attachments
Comments
Also relates to MC-177114.
Relates to MC-177102, MC-177081 and MC-177106.