To flirt or behave in a playful, teasing manner in order to attract attention or romantic interest; to behave coquettishly.
From French coquet or coqueter, from coq (rooster), comparing flirting behavior to the posturing of a rooster; entered English in 17th century.
The rooster connection is apt—coquetry shares with a rooster's displays a performative quality, a deliberate strutting around, and the core idea that you're using charm and pretense to get attention rather than sincere pursuit.
Complete word intelligence in one call. Free tier — 50 lookups/day.