I have limited experience with ranger. I have had episodes where non-companion NPCs are afraid of my familiar and/or summoned companion and run away from them or make comments like "go away". I have not had an animal companion instantly aggro my ranger Tav or anyone else. Definitely sounds like a bug.
I haven't picked up that game in a bit, but will now be trying it out for science.