How is blackfacing wrong but replacing white characters with black actors right?

just wondering. cause essentially, it's both racist.

How is blackfacing wrong but replacing white characters with black actors right?
Post Opinion