Dissapointed nobody has brought up pain as an outlet for these behaviors for as long as its been up. Not justifying them, and if done without warrant completely unacceptable. I am not a passive owner, my horses have always been ladies and gentlemen with no major quirks (which is a major purchasing consideration for me).
That being said, I had a gelding with high trail class honors as a youth. I set up a tight pinwheel one night as I did once every couple weeks in our obstacle rotation. He warmed up as usual. Do one, no problem. As we loped up to it again, he stops and backs up. Try again- refuses it again. Try again- refuses? What the heck?? Get off, feel up and down his legs and he's touchy on his front legs as I near his hoof. Ok.. Have the vet out the next day. Suggests X-rays, ok. Comes up navicular??? Get him managed, and go on to do many more pinwheels with no issues.
Part of horsemanship is knowing your horse and suspecting problems before you push them through the pain to more issues too. That also means knowing when your horses need a good old fashioned smack (no a wave of the "carrot stick" doesnt count), regardless of their previous medical hx. These problems wouldn't have ever justified my gelding to try to bolt if I was walking him down the aisle, or to pin his ears or kick at me when I entered his stall.
Happy trails, showing, loving on your pasture ponies, or whatever has brought you here :)