I play with a controller and whenever I try to pick up a relic or harvest minerals it switches my weapon. Couldn't you give us the option to hold [Y] (melee) to switch weapons instead? or something else? D-Pad maybe?
Try these steps first to clear up any problems you may have when connecting to an EA game.
Reset, update, or link your account information.