iPhone is over 2k 2532×1170 at 6 inches the dap is way less at 1440x720. At 5.5 inches iPhone has a way higher dpi too. Both only offer phone display not tablet so why the difference?
That is merely the physical pixel resolution. Highly doubtful you are getting that on screen without any scaling. For the logical resolution, try cutting those vertical and horizontal figures in half.