Maarit Ayin

Someone asked me recently… “why is it not Maarit Ayin to eat out kosher food in a non-kosher restaurant?”