From the information presented it is unclear whether the cheeks were swollen or red in addition to being painful. Also, it is not stated whether the ENT doctor was able to visualise the eardrums, if there was wax in the ears.
Assuming that the cheeks were not swollen or red, the likely problem is a middle ear infection (involving eardrums), which will respond to antibiotics for 7 to 10 days, in addition to cold & cough medicines. Middle ear infections complicate cold and cough in children, and result in severe ear pain. This is due to easy blockage of the tubes (eustachian tubes) connecting the throat and ears in children during cough and cold. This responds to antibiotics and decongestants and not to ear drops.
The likely cause may be Imol-induced gastritis, and may settle down with antacids like gelusil or ranitidine. If vomiting blood persists after stopping Imol, you may consult a gastroenterologist.