Thanks for query,
This problem may be due to smell and taste of antibiotic,you are taking.
Due to ear infection
it is possible that you may get some effect in the nose might cause altering the smell due to its effect on smell nerve
Go for nasal inhalation with boil water with vicks
Ok and bye.