Well because Scout and Jem are caucasian, and they are living in a time period where discrimination and stereotypes are prevalent their point of view is affected tremendously. After Tom Robinson dies they start to realize that just because you're a darker skin tone you can be accused and convicted of harsh things. Scout is mature for her age, and because of that she understands more things than most children.