If the govt is supposed to stay out of the bedroom, then the govt should not consider the sexual behavior of any person when it comes to providing or mandating employment benefits.
No benefits for roommates or boarders. Only for husbands or wives. Every one is free to get married. Marriage is a long-defined thing. The only requirement is that a married couple gives the appearance of being able to procreate - something that homsexual couples can’t do. Interestingly, two homosexuals CAN get married (a homosexual woman can marry a homosexual man) as long as they are not the same gender. So there is no discrimination. Just a logical societal preference for procreation by those who are committed to eachother.
Yes-all law is based on a concept of morality. This is why you can be held criminally liable for mistreating your own pet in your own house on your own lonely island. Why? Because society finds such conduct morally unacceptable.