It's a cousin of Indian jalebi and Iranian zoolbia; all three names trace back to the medieval Arabic and Persian zalabiya.
A thin batter of flour, yeast and sugar is piped into hot oil in loose spirals, fried until crisp, then soaked in syrup. It's sold alongside makroudh in Kairouan's pastry shops and is especially popular during Ramadan.