The U.S. Supreme Court on Friday agreed to hear an appeal by energy companies including BP PLC, Chevron Corp, Exxon Mobil Corp, and Royal Dutch Shell PLC contesting a lawsuit by the city of Baltimore seeking damages for the impact of global climate change.