Not a pine.  Not even a 🌲︎ conifer of order Pinales , but its leaves looks like it could be.

Also called beach she-oak, horsetail she oak, whistling tree, Filao tree and agoho.

Native to southern Asia, Oceania and 🇦🇺 Australia.  Invasive > Global

Learn more about Australian pine Casuarina equisetifolia

Discover Life Encyclopedia of Life Google Google images USDA PLANTS db Wikipedia