Mosquitoes love to fly around heads
Mosquitoes have the ability to sense CO2 at a distance of 30 m. In fact, mosquitoes buzz around your heads because that's where the body emits the most carbon dioxide. Because humans breathe CO2 through the nose and mouth, mosquitoes tend to fly around your heads. The buzzing of mosquitoes in your ears is what causes you to "slap yourselves in your sleep" more than any other cause.
It turns out that the other reason is mainly that mosquitoes love places that smell or don't smell very well. Meanwhile, the human ear is the place in contact with the external environment, so it is often dirty. Moreover, whether the ear is dry or the ear is wet, the ear always produces earwax. Because the smell of earwax is quite strong, mosquitoes love to buzz next to the ears and head area. The sound of the mosquito buzzing is also not because the mosquito knows how to "call" but that sound comes from the vibration of its wings. The frequency of vibration of the wings is very fast so why do people often hear buzzing sounds?