I have no clue. I saw no one else answered so I did not want to be rude. If you want to see if it is neurological you can go to your GP and ask for a neurological exam that is reflexes and such. If ibuprofen helps it probably is not nerve pain since ibuprofen does not work on nerve pain.
I had this before, and I'm experiencing it again. Today, it's not only a pain just above my ear, but it's a pain that starts in my nose and shoots in my cheek to above my right ear. The doctor diagnosed it as trigeminal neuralgia. I was prescribed something, and I'm looking here to try to remember the medicine she prescribed and am having trouble finding the name of it. If you have MS, this is certainly related.