The photos are not identical.
The one on the right has sharper lines which causes the road to appear closer. The road on the left is blurrier so it appears to be further away.
Our right eye tends to be the prominent one so it catches first the sharp lines which are on the right.
I’m curious if the same problem would occurs if the photos were switched.
No, they are indeed identical. The issue is your mind insists on making them diverge due to expecting them to diverge due to a life time of seeing perspective. . . so it edits in perspective that isn't there. The world our brain "sees" is not the world our eyes actually see. Perception is a strange combination of reality filtered through pre-learned expectations.
> The photos are not identical. The one on the right has sharper lines which causes the road to appear closer. The road on the left is blurrier so it appears to be further away.”
Must be something about your screen, the lighting in your room, your eyes, or something else. I used a hex editor (Frhed) and did an automatic comparison of the bits in the image files (by selecting Edit, Compare from current offset — starting at byte 0000), and the result was “Data matches exactly”.
The sharp and blurry stuff is an artifact of your brain’s visual processing, or your eyesight diverges - the images are identical.