So, why was the squirrel banging his tail like that? He could have been frustrated and the tail movement akin to humans stomping.
Perhaps he saw a predator and was warning fellow squirrels. Our squirrel could also have been alerting said predator that “I’ve seen you and will act accordingly!”
We can clearly see that something had disturbed it. And we are now left to wonder what and why.