sharpness – Is the Sony A6400 weaker than the Pixel 4a?

I’ve just bought a returnable Sony A6400. I’ve taken some shots with it, and the same shots with my Pixel 4a. (Static subject; lighting not bright, but nowhere near night mode.) A6400 set to JPEG Extra Fine, Image Size L:24M, Aspect Ratio 3×2, ISO Auto.

In each case the Pixel 4a’s shot is noticeably clearer than its A6400 mate.

What’s your conjecture: Am I doing something wrong, and if so what do you think it might be; or is it time to return the Sony? I realize the 6400 has lots of extra features, but simple picture clarity seems like table stakes.