You could ask the same question about all sorts of parasites (ticks, tapeworms, etc.), but I think the answer is pretty clear. It’s not the conundrum you think it is, and the vast majority of people correctly see no contradiction between killing a mosquito that’s on their arm drawing blood and agreeing that mosquitoes are a relevant part of the ecosystem that should not disappear entirely.
You could ask the same question about all sorts of parasites (ticks, tapeworms, etc.), but I think the answer is pretty clear. It’s not the conundrum you think it is, and the vast majority of people correctly see no contradiction between killing a mosquito that’s on their arm drawing blood and agreeing that mosquitoes are a relevant part of the ecosystem that should not disappear entirely.