Iron golems will kill anything that attacks them or villagers, even on Peaceful mode. Either the wolf attacked the golem or a villager, or if you attacked a villager while the wolf was tamed and standing, and the wolf became hostile to villager because you attacked it. This is not a bug, but a game mechanic coded into the iron golem.
Iron golems will kill anything that attacks them or villagers, even on Peaceful mode. Either the wolf attacked the golem or a villager, or if you attacked a villager while the wolf was tamed and standing, and the wolf became hostile to villager because you attacked it. This is not a bug, but a game mechanic coded into the iron golem.