牠 is a Taiwan/classical variant of
它 used specifically for animals. In mainland simplified Chinese,
它 is used for all non-human referents (animals, objects).
牠 is rarely seen in mainland texts but is standard in traditional-character writing in Taiwan and Hong Kong when referring to animals.