Pet-owners always call their own pets 'he' or 'she' - never it. They'd get quite upset if you referred to their beloved dog, cat or rabbit as an 'it'. To avoid causing offence, you need to listen carefully and ask clever questions to find out what sex the animal is, then follow the owner's cue and use 'he' or 'she' accordingly.
The same applies to people's babies.