I don't wear scarves at all anymore, not even to mass. If I lived in a country/region where I'd stick out or give offense by not wearing one, I'd wear one.
I think it was a nice gesture for Pelosi. It neither broke her bones nor picked her pocket---nor ours.
From Corinthians:
"But I want you to understand that the head of every man is Christ, the head of a woman is her husband, and the head of Christ is God. Any man who prays or prophesies with his head covered dishonors his head, but any woman who prays or prophesies with her head unveiled dishonors her head—it is the same as if her head were shaven. For if a woman will not veil herself, then she should cut off her hair; but if it is disgraceful for a woman to be shorn or shaven, let her wear a veil.
"For a man ought not to cover his head, since he is the image and glory of God; but woman is the glory of man. (For man was not made from woman, but woman from man. Neither was man created for woman, but woman for man.) That is why a woman ought to have a veil on her head, because of the angels....If any one is disposed to be contentious, we recognize no other practice, nor do the churches of God." (1 Corinthians 11:3-10,16)