Minecraft wiki entry for Pig, associated text: When a pig or piglet is struck by lightning, it transforms into a zombified piglin or baby zombified piglin, respectively. If the pig was equipped with a saddle, the saddle is lost and the player dismounts. If lightning strikes a pig in peaceful difficulty, the pig does not transform but takes normal damage from the strike.