People learn them from generation to generation. That's the key to solving this problem. We shouldn't rely on what happened on the past. The past is gone. Some of it is offensive, but I understand some people will never change their mind.
People have their prejudices.
Hispanics have them, whites have them. But me dwelling on the past is not going to fix any problem. But I do think it's time to focus on the future. It should be like that. Unfortunately, we're not at that point.