Already addressed.
Tolkien specifically calls Haleth an amazon, and relates it to war and the custom of the Haladin to have warrior women and her bodyguard of women. Which Elves find strange.
Elven-women will fight in desperate defence, such as Galadriel did at Alqualonde. But otherwise seem to abstain from hunting or war:
"...the virtue of the nissi in this matter [the art healing] was due rather to their abstaining from hunting or war than to any special power that went with their womanhood. Indeed in dire straits or desperate defence, the nissi fought valiantly..."
MR, Laws and Customs of the Eldar
So the one time (in several variants) Tolkien notes Galadriel as having been in combat is in her youth in Valinor fighting in defence of her mother's kin.
Perfectly in keeping with Laws and Customs of the Eldar and the fact that the Eldar consider warrior women strange.