I understand the saliva has a benefit for mosquitoes, but not the swelling and the itching (the “unpleasantness” in the title). In essence, our bodies hung this not-otherwise-useful allergic response on something the mosquitoes couldn’t/wouldn’t/didn’t give up and which was firmly specific to their bites, to single them out.
If there was no saliva our bodies would be pressured by natural selection to pick some other mechanism to make their bites unpleasant. An allergy to their chitin or a phobia to the sound of their wings, etc.
Evolutionary pressure from mosquitoes has probably been no small thing.
Simon Sebastian - Into The Atmosphere