Tranquilizer darts aren't instantaneous - they take a few minutes to take effect. The zoo officials felt that the child was in immediate danger and that not only did they not have enough time to wait for a tranquilizer dart, they also thought it would enrage the gorilla and cause him to harm the child.