I was wondering if this happenned after the dog got a rabies shot?
My friend had a dog do the exact same thing one day after a rabies shot and found out it was a reaction to the shot. It lasted a couple of months and was over.