Republicans blamed “overregulation” for the deadly blazes. Democrats pointed to weather factors related to climate change.