This reminds me of debugging an Alpha BlackBerry Storm (yikes!) way back in the day with a memory issue, albeit was a bad microsd, but it still presented itself in very strange ways.
This Pixel issue is the first time I ever experienced an internal memory/cache issue on any device.