Team swat pistol

So i played few games and there were times my gun switched to my pistol with out me pressing the {Y} Button.

Has this happen to anyone
i have a new controller and tested it out with other controllers same problem, even friends experiencing the same problem

never happened to me o.o