Please explain why does my ear hurt when I drink soda?

Possibly tooth? I am not aware of a connection between drinking soda and ear pain. Sometimes tooth pain can "refer" (go to) the ear and be perceived as ear pain. A doctor can check your ear for any problems and if nothing is found you may want to have the teeth in that area examined.