None of the countries mentioned have coconut as native, its originated from the Malay Archipelago (East Indies) area. The common name for coconut from Philippines to Hawaii across the Pacific islands is nyiur/niu, and most probably brought along to Polynesian islands by the early settlements who speaks Malayo-Polynesian or Austronesian languages.
Fun facts, coconut name is a misnomer and it's originated from the Portugese, one of the first European in contact with coconut who thought it's a form of nut but actually it belongs to drupe or stone fruit family [1]. Specifically coconut is from the palm family and its fruit is mainly the kernel. Oil palm has similar kernel fruit but it's native to Africa.
[1] Nightmare Fruit: How the Coconut Got Its Name.
https://medium.com/@sixtybolts/nightmare-fruit-how-the-cocon...