It raises its tail to check its surroundings. The tail is sometimes struck by lightning in this pose.
It keeps its tail raised to monitor its surroundings. If you yank its tail, it will try to bite you.