Why is that racist? (What is your race/nationality if I may ask?)
It is due to the fact that anime is the Japanese equivalent of American cartoons, and by accepting one and not the other you are technically being racist.
Or maybe the teacher simply really didn’t like that art style. Not inherently racist.