It's a bit of both... yes, these bugs ought to be fixed in software whenever possible. However, the military can't wait until everything's perfect to deploy, and the users of the technology need to be trained on all the sharp pointy bits in the code. Some of these will be bugs, and some of these will just be that this is military code and it's built to have sharp pointy bits, some of which inevitably can be aimed at oneself. As someone else points out, firing on one's own position is a valid use case in the military.
If you can't wrap your brain around that statement... go thank a soldier.
Again let me emphasize I'm not saying the software is OK as is. It should be fixed, somehow. But at the same time, the military can't afford to just, say, stop using the unit entirely until then, and wait until all equivalently serious bugs are fixed. Not having the software 'cause it's in the shop can be fatal too.