Wisdom teeth appear relatively late, and in many cases there is not enough space for them to grow, so they grow sideways or become impacted. This can cause pain at the back of the mouth, near the joint of the jaw. Since this is close to the ear, the pain often radiates towards the ear, and is mistaken for ear ache.
If you think your ear ache may be caused by teeth or jaw problems, I suggest that you see a dentist ASAP.