What mode are you using the camera in? I switched from a Pixel 2 and the P30 Pro camera knocks it out of the park.
Have you tried using it in AI mode? I find that works very well. I agree with the previous reply, your first photo is depth of field that might be slightly off due to camera...