People have racist attitudes for many reasons

A lot of views are shaped at a young age and inherited from family members. When these views are so deeply rooted that people are just not aware of them, it’s called unconscious bias. Some people may also blame other groups of people for complex problems in our community, particularly if they have limited knowledge about these complex problems. These views can be reinforced by inaccurate or inappropriate media coverage.