They're both acts of prejudice on the basis of race. There's a view that there is some dimension of racism where racism in "one" direction can be negated by racism in the "other" direction. But this relies on a stable concept of race across time and space, which doesn't exist, because people mix and move and change how they identify.
> what happened before you were born does matter
I wasn't born in America. Neither were my Asian friends. Isn't it convenient that they're asked to bear the burden of America's heritage of slavery?