India’s Supreme Court has refused to recognize same-sex marriages, saying only parliament could make laws.