It may be a southern expression as my southern grandmother used it.
It just means to act stupid in public when there was no need to.
thanks
Showed his tail right before a jerked a knot on their head. Bless their hearts.
Bingo. Make a complete fool of yourself for some ridiculous reason that everyone sees. It never occurred to me that this saying is not universal.