It is difficult to determine the exact cause without more information, but it is possible that the accumulation of earwax may be the issue. You can try applying a few drops of mineral oil in the ear to soften the wax and keep the ear hydrated. If the situation does not improve or if your child develops pain or a fever, it would be best to consult a doctor. Hope this helps, and have a great day!