By the looks of that, it appears that you were seeing a Hunter's pet, but it had not yet registered as another player's pet on your client side. I've seen that happen with both Hunter and Warlock pets where they appear hostile at first, and then turn friendly once their master comes into view on my screen.