Why does the word karaage have the kanji for China in it?

The kanji being 唐揚げ (Chinese fry). Couldn’t the Japanese invent fried chicken on their own? It’s possible, I suppose, seeing as traditional Japanese cooking uses little oil and fried chicken with mayo gets named after Southern Barbarians, i.e. gaijin (南蛮チッケン- nanban chicken).