If sex refers to biological differences

If sex refers to biological differences, why do sociologists see sex, like gender, as socially constructed?