One phone is better than the other. But it makes little difference.
The power within a photograph is conveyed to a viewer not by gear, but by the skill of the person making the photograph. And that has to do with a large number of factors, including life experiences, curiosity, imagination, ability to read light, ability to compose, timing, recognizing a photograph's potential for releasing narrative, post processing skills and on and on.
The choice of gear is pretty much mice-nuts, outside of certain uses that for many are pretty much edge cases.
As an aside, I've noticed those that are on perpetual missions to own the best gear, produce the most ho-hum photographs. It ultimately comes down to wanting to be a photographer or a camera owner.
Obsess over making (rather than taking) photographs, not acquiring the best gear.