The girls that flirt with everyone?

the girls that flirt a lot and with everyone, do you do it cause you like the person or feel attracted or what?

Like do you girls do it to unattractive guys too? or are they mostly toward good looking guys and flirt for fun, when you only wanna be friends?