Scalp psoriasis occurs due to the excessive buildup of skin cells on the scalp, which causes scaling and flaking. This overproduction of skin cells can affect the hair follicles, leading to hair loss. While temporary hair loss is a potential side effect of psoriasis, it is relatively rare as the sole cause of significant hair loss.