I have a Pixel 8 and Pixel 8a where this was happening.

I just got off the phone with Google and they said I should either take it to a local repair shop or send it in for a replacement.

Terrible options because I don't believe it's hardware related, not with 2 phones that do the same thing.

It typically takes about 3 months for the Digital Wellbeing app crashes to corrupt my profile to the point where my phone becomes unusable and I have to factory reset it.

The only fix I have found is to disable anything to do with Digital Wellbeing. For me, that meant disabling bedtime mode so I guess I will constantly get woken up by emails all night long.

To me, this is a Google coding issue, not a hardware issue.

It also means I wasted money buying a replacement phone because there's nothing wrong with my Pixel 8.