It's worth reading the full dissent and majority opinion but its a textualist argument that the original legislation did not intend to include homosexuality and transgender in the Title VII law against sex discrimination and its not the courts job to legislate and that if these are to be included its congress' job to amend the laws to be more specific.