Is this ignorant, racist or both?

So I like to go to Thailand, and this guy that liked me said they're dirty and they cook dirty and don't know what's in their food.

Another guy (he's indian) we went to an indian restaurant that had a Thai restaurant downstairs. We were eating at the indian place and I said let's try the Thai place next time, he said why would you want to try the Thai food? (This restaurant is in America)

What is wrong with people?

Is this ignorant, racist or both?
Post Opinion