A head covering and ashes on the forehead are worlds apart, not necessarily the same thing.
Worlds apart yes. But both the ashes and a hijab are significators of a particular religion.