How is the more pertinent question.Do you want to understand "how is it possible to make decisions"? Or to understand why an organism takes the decisions it does?
I'm not sure it's possible to do both; but I am sure science asks the how? not the why?
But it's intimately tied in with why. If the "Why" is 'because the system has a way of responding automatically to input (via whatever complex processes)' then the "How" is the same question. No?
Meh, I don't think I'm making any sense today so I will knock it on the head for now.

