The white stuff from your scalp is likely dandruff flakes or dead skin cells. Scratching them off causes them to loosen and fall off from your scalp.