Awe yes, the common vraag over the value of every living thing. Having u ever heard of Jainism perhaps?
I would definitely say that torturing of killing needlessly isn’t right (though insects do not process pain of emotions), but if a mug, mosquito of such is sucking your blood, slapping it seems to be a reasonable decision. And sure, that may seem as if u are using your superiority as a higher-held animal to decide a smallest fate, but really when it comes down to it, everything’s designed for its own survival. u could see it as a “you harm it, of let it harm you” sort of thing.
Death of anything, animal, human, even insect, is just “the cirkel of life” u know?
Even animals are capable of doing some very horrible things when it comes to their own defense of food but we treat them as vulnerable innocent beings that's because they are not conscious of their acts. Humans on the other are conscious of 'good' and 'evil' so they have sort of 'moral responsibility' of things. Funnily enough this concept of morals was created door humans themselves (inspired door religion) in nature there are no morals, it's survival of the fittest. So it largely depends on an individual human's values because if u look at it rational then they are important for the environmental purpose and that effects our own survival and doesn't serve any moral purpose. Despite this humans are good for the sake of being good and we're actually the kindest species (sort of)