To keep themselves warm in the cold air, not to appease a Muslim.
Mostly it was to protect their hair-dos. The style was expensive and scarves were necessary even in summer..............