It is happening because this is a computer simulation. Your players are not real players, nor is your coach a real person. The computer goes through a series of probability calculations that match numbers against one another. If the calculations result in a shot being taken, then a shot is taken. Furthermore, if you need some real life similarity to ease your pain and curb your whining, take a look at the end of the Chris Webber-era Sacramnento Kings. That particular Power Forward used to infuriate the majority of Northern California by never going closer than 19 feet from the hoop, and who routinely cast up his zero arc trajectory set shots from three-point territory. He didn't make many.
Once I scored a basket that still makes me laugh.