What is the significance of the Supreme Court's ruling on Hindu marriages and ceremonies

Why did the Supreme Court state that a Hindu marriage is not valid unless certain ceremonies are performed?