you're comparing a phone from 3 years ago to one from today. The pixels continue to be far better at HDR and low light images. iphone is still better at video.
OP was comparing it to the Pixel 5, that's why I chimed in since it's not much different to the 4a. I can't imagine myself being disappointed by it like OP and between 4a and 5 there wasn't a huge leap in performance.