I believe this excerpt to be an example of a third-person limited, instead of third-person objective.
Third-person objective does not reveal what the character is thinking or feeling. We may get to conclusions about that through the character's behavior or through dialogs. But the author does not give us this sort of information directly.
Third-person limited, on the other hand, does offer us an insight of the character's process of thinking and feelings. That's what we can notice with the sentences "He wondered where people were going as they passed by his bowl." and " He shivered with fear and was thankful that cats hated water. " We know the goldfish is asking himself about the people passing by. We also know he is afraid of the cat. Those pieces of information were given to us, the readers, directly by the narrator, not via dialog or by the observation of the goldfish's behavior.