Why do we sometimes say "it" for an animal, but other times we say "he" or "she"?
It can be a bit confusing, especially if your first language gives a gender to every noun!
Don't worry, it's actually quite logical in English once you understand the simple rules.