Iron Golems attack unarmed pillagers and baby piglins. These are passive mobs. Why are iron golems attacking these mobs? Is this intentional behavior, or is this a bug?
Under Iron Golem, it is stated they will attack piglins on sight, as well as attack baby piglins. And under the entry for pillagers, it is stated that they'll attack unarmed pillagers too.