City and county officials from California to New York have filed suits against oil and gas companies alleging their fossil fuel production and promotion creates a public nuisance, citing the effects of rising sea levels on coast lines and infrastructure.