Happy tail syndrome is also known as kennel tail, splitting tail and bleeding tail.
A dog can whack his tail hard enough on a hard surface that it causes a small cut or split on the tip of his tail.
The cut tends to bleed a lot and as he continues to wag his tail, blood is splattered around the area.