The business of insurance sometimes has good (profitable) years and sometimes has bad (losing) years. That’s why insurers work so hard to invest and spread their risk over multiple years. I got a dividend from State Farm during the pandemic because they had an unusually profitable year, and they re-distributed some of their profits to policyholders.