Only Female Mosquitoes Bite
Mosquitoes mean nothing personal when they take your blood. Female mosquitoes need protein for their eggs, and must take a blood meal in order to reproduce.
Since males don't bear the burden of producing young, they'll avoid you completely and head for the flowers instead.