So, it’s fine that you don’t understand the experiment, it’s really confusing and not intuitive. It’s not that the photons change their behavior when measured. It’s that they pass through two different slits as a probability field, and the field collapses as soon as it is measured in any way. It’s not just that the behavior changes, the nature of the photon changes. It doesn’t exist as a single point in spacetime until it is measured.