I know I have tapped my mare with my hand on her bum and she bucked.
If he was good for a while and just started bucking and if everything is the same, I'm going to say he's doing it to either get out of work, or he gets so excited, he does it.
Not sure how to stop either....