Hello. Welcome to hcm.
There is a connection between ear and mouth which helps in maintaining air pressure in ear. But when there is a infection in ear,the infectious material called pus dribbles down the throat. The yellowish things in your throat is that pus. It decreases slowly once the infection subsides.
I advice you not to worry and continue treatment. You should consult doctor
if there is fever
even after 7 days of antibiotics.
All the best