This happens to me a lot of times, but if you look closely, the head is actually behind the box, that's the reason why the triggerbot isn't shooting. If you try shooting the bot manually while crouching, it will show up (in the right corner) as if you shot the bot through the box. Triggerbot also doesn't shoot through fences and glass (at least in my case) if you haven't noticed it before.