Well, what he actually wanted is irrelevant.
His actions incited the war.
Ivar brought a tool of war.
Not a woodaxe, not a hoe for the plot of a farm, not carpenters tools.
He brought a loaded gun. And now he's reaped the reward of the gun going off. In his face.
Lucky for him that Thorfinn...