Hi,
I know this thread is over a year old, but I join in anyway.
I bought a USB-C to HDMI cable myself and found that this did not work. After some searching online I came across this thread.
At first I didn't want to believe that it was not possible to connect an external monitor (wired), so I had to search a little more.
As @kugiigi mentions, the hardware does not support this directly because the Pixel 3a only has USB 2 (USB 3 is required), but then I came across a thread from another forum that mentions a video on youtube titled "Pixel 3 to HDMI Video Output (using a WIRED adapter)". (I was not allowed to paste the link here)
Here you can see that it is possible with the DisplayLink technology (but on Android you have to download an app for this).
So then the question is, has anyone tried DisplayLink with Ubuntu Touch?
The only thing I can find in the forum regarding DisplayLink is a thread from 2018. A lot may have changed since then.