Gov. Kathy Hochul has signed a bill that requires fossil fuel companies to pay for climate change resilience projects.