Simply put, racism is learned.
Christians believe Sin, such as what is stated in the bible, is basically like a genome passed from father to son and so on solely because Adam and Eve ate from the fruit that gave them knowledge and self awareness.
To sin is human nature due to curiosity.