If he is scratching his tail on something, check the tail and see if you see flakes. If so, he is itchy and trying to scratch it. I had a mare who did the same thing. But my trainer told me to use baking soda on the tail to get rid of the flakes and the itching. And it worked. Her tail started to grow back out.