The only possibility is that you clicked another move.
Misclicks are quite common and you don't always realize you made a mistake until after you did it.
Since there is no item that boosts priority and you used a priority move, the only possibility is that you clicked something else.
Edit: It could also be Showdown glitching, but I highly doubt it. It rarely ever happens.