Fires claimed 31 lives and thousands of structures as Los Angeles tried to regain its footing after the pandemic.