Hmm, that is really odd. I wonder if maybe there's another application on your system that is sending a key combination when that button is pressed? I assume the B button is not Button 10 per the screenshots.
You can try disabling the controller AutoHotkey features, just in case that is the cause, but that doesn't make a whole lot of sense either.