This has nothing to do with how well behaved a child is. It does have something to do with the duties of the person sitting in the exit row.
Below is from the AA web site on a current reservation that I have with a 5 year old,
"Exit seat restrictions
You cannot sit in the exit row if you’re traveling with someone younger than 15"