Hello, Welcome to Healthcaremagic!
is a normal secretion of external auditory canal, in fact a product of sebaceous glands. Its has a protective function. In your baby's case, you must consult an ENT specialist to remove the wax, properly. Also, there may be a fungal infection
in ear. So consult ENT specialist
ASAP. Good Luck.