As insurers and brokers reckon with unexpected losses, they’re charging more for policies and setting higher requirements.