Because as I've said above, the state of the agent determines what choice it will make. The state of the agent is determined by outside stimuli just like everything else. This conversation here is a great example why I consider the idea of free will to be mostly a religious concept and a thought-trap.
Like I said before the more interesting questions are about the interaction of a system with the rest of the world such as what brought the system to a state that it makes a certain choice, what are the dynamics of that state, how might that state change based on different stimuli, can we nail down what exactly is going on in all the relevant parts of the system at a given time etc and if not how close can we get.
Ive got nothing against free will. Its just an idea thats important to some religious beliefs. Its just kind of pointless to talk about when were talking about neurology and the source of consciousness.
I do wish the ever increasing stigma around it in serious conversations would hurry up and increase so we could stop wasting our time with it though ;)