A strand of hair is thinner than a pixel at normal viewing sizes. When you look at a photo of a person, the hair around their head is not a solid shape. It is a collection of individual strands that overlap and let light through.
A segmentation model that produces a binary mask has to decide, for each pixel, whether that pixel is hair or background. But a single pixel at the edge of hair might contain a strand of hair, some background, and the shadow of the hair on the background. It is a mixture.
The correct representation for this pixel is a partial alpha value that reflects the mixture. The model needs to estimate that value rather than making a binary decision.