From a medical point of view, the ears usually clean themselves, so that active cleaning is usually not necessary. Nevertheless, people produce different amounts of ear wax  (med .: cerumen). So it happens again and again that a clogged ear impairs hearing performance. There is no earwax overproduction. Everyone is different. One ear produces more, the other less. Not to forget: the secretion is healthy and important. Its function is to remove dirt and bacteria. It arises in the wax glands, medically called glandulae ceruminosae. The glands are located in the anterior ear canal. Only there is the secretion. The glands that secrete it are slightly altered sweat glands.  In general, it consists of more than 1000 substances, not all of which are known by a long way. The cerumen also contains antibacterial agents to make it as difficult as possible for the little intruders. This is another reason to leave enough wax in your ears. Because this can prevent infections such as otitis media. The reason for a clogged ear is an impaired removal of the ear wax. Then only liquid will help to dissolve it.