Court Hears Arguments Over Gay Marriage's Impact