Why is my dad so racist?

My mom is darkk skinned puerto rican, she looks like nicole (sherizinger, if thats how you spell her name) from cat dolls, and my dad is puerto rican too, but he is also veryy dark and looks like the rock (wrestler) and people always ask him if his black anyway..
I am puerto rican, and i have dark skin, curly hair, big butt (like a black girls figure), and I don't look white or anything no where near, most of my black teachers ask me if I have black in me..

I am into black guys and puerto rican guys. and when I told my mom and dad I like black guys (as well as puerto rican) they went crazy, well my mom didn't care she was happy. but my dad was like "shutttttt up and don't tell me cause i'm so mad at you, your gonna be a sex addict when you get older.. your gonna put me in an early grave if you tell me this! just go to your room" like flipping out.. I mean what the hell, all my dads friends are black, he listens to rap music and everything.
And he was like this to me once if you ever date a black guy i'll kill you….

I feel that It doesn't matter what guys I like as long as he treats me right, that's all I care about.

like what the hell, they want me to only like white guys when I'm not even white, all the guys I attract are black and everything, for some reason white men never really like me.

why is he so angry at me? its just a preference right.. I;m confused.. his never had trouble with blacks I'm sure of that..!

Thanks for answers and God bless.