Minecraft wiki entry for Arrow, associated text: Arrows shot through lava or (if there's at least a 2 block gap) fire catch on fire and show an appropriate animation until they pass through water. Like arrows shot from a bow with the Flame enchantment, they can set other entities they hit on fire for 5 seconds as well as ignite TNT and campfires.