What other reason could there be for flashing your lights?
I flash (my headlights) at someone who is using high beams so I'm basically warning them I am there because they either forget they have high beams on or they are inconsiderate of other road users which I could use as an excuse for flashing my lights to let them know I AM there.