The U.S. Court of Appeals for the Second Circuit ruled Thursday that municipalities cannot use state tort laws to hold multinational firms liable in federal court for costs associated with climate change, ending a New York City lawsuit that targeted a group of five major oil companies over global greenhouse emissions.