Bad behavior (and therefore bad kamma?) due to physical ailments In this TEDx Talk Youtube video at timestamp 12m 36s, Dr. Daniel Amen told the story of a nine year old boy named Andrew, who attacked a girl on a field for no particular reason and he had other behavioral problems.

It turns out that he had a cyst in the left temporal lobe of his brain the size of a golf ball. Once it was removed, he returned to being a normal boy with normal behavior.

Questions:


If his cyst was caused by past kamma, and if his bad behavior is caused by the presence of the cyst, then this implies that his present behavior is caused by his past kamma and he has no control of it. Is that true?
If his bad behavior was caused by the presence of the cyst, then would Andrew be creating bad kamma (by attacking the girl) due to bad intention, or would he not be creating bad kamma (by attacking the girl), because it was due to the cyst and not due to his own intention?
What did the Buddha teach about the physical body (including brain) and its ailments or conditions, affecting the mind and kamma?
How do we avoid bad kamma, due to mind-influencing effects caused by physical conditioning?
How could Buddhist teachings help a person like Andrew (before his cyst was removed)?
In abhidhamma.-

There are 4 type of minds:


wholesome-root functional mind, good kamma.
unwholesome-root functional mind, bad kamma.
root's effect functional mind, kamma's fruit.
rootless functional mind, neither kamma nor fruit.


In one's life process:


human born just by wholesome kamma, but some organ, i.e. cyst, can arise
by unwholesome kamma after born.
kamma has making body-sense for touching touch.


each mind's full process at body-sense:


contact of 3  dhātu: 1) touch arise &amp; 2) body-sense arise &amp; 3) 4th mind arise for to decide the kind of 3th mind, wholesome-effect/unwholesome-effect, that compatible with that touch (same time).
then 3rd mind knows that touch at body-sense, both are arose by
kamma-cause.
then another 3rd minds know that touch by kamma-cause 2 times.
then touch is reached by 4th mind again for to decide the kind of
1st, 2nd, or 4th minds should arise to do new kamma in body.
then 7 times arising of 1st or 2nd mind and do new kamma.
then 2 times arising of 3rd minds.
then body vanished.
Above mind process, at body sense, can loop moreover trillion times per second, uncountable. There are more types of mind process than I show in this answer, this is just the example.


You can see that we receive fruit of old kamma and make new kamma in the same process and the same body.

His bad behavior is 1st, 2nd, and 4th mind. Just 3rd mind and a cyst organ are kamma's fruit.

So, the cyst organ is not a main cause of bad behavior. But previous bad behavior is the main cause of present bad behavior.

The cyst organ is just a fruit of the past bad behavior. It maybe one of side cause, but it is not the main cause. A human maybe feel very hurt and hard to decide to make arising of wholesome mind or unwholesome mind because of hurt at body-sense at 4th step but the decision is the 6th step. So, the 7th step is done by his decision in 6th step, not by kamma.

In the other hand: many example in tipitaka and commentary shown that there were many arahanta who were suffered at body-sense, but no one of arahanta have unwholesome-kamma, bad behavior.