A Reddit post describes the problem impacting both the models.
Owners of the recently released Google Pixel 3a and Pixel 3a XL are reporting random device shutdowns.
A Reddit post describes the problem impacting both the models where the devices require a hard reset by holding the power button down for 30 seconds before they turn back on. Another user reported similar crashing of the device without any trigger. One user reported the problem while connecting to the home Wi-Fi.
Some tried using the device in Safe Mode, but that too did not appear to have helped much. It is unclear as to what is causing the random shutdowns of the latest, affordable smartphones. Google is yet to release a patch to address the issue.