It is obvious to him that Rikki is a threat to them because he knows a mongoose's whole "business in life was to fight and eat snakes." Nagaina explains that killing the humans is a vital step to their supremacy in the garden and being able to raise their brood of young snakes in peace and safety.