In quantum mechanics, we know that:
The global phase of a wavefunction does not have any physical effect, but the relative difference in phase ($\Delta \phi$) among different components of the same wavefunction has physically observable effects, such as the destructive and constructive interference in the double-slit experiment.
Local $U(1)$ gauge symmetry allows us to chose any value of the phase at any point we want in the wavefunction.
Then how can a $U(1)$-invariant wavefunction exhibit any observable effect of $\Delta \phi$? If any two points can have any value for their phase, then their $\Delta \phi$ will be any number, thus the double-slit experiment will have to simultaneously show a destructive interference, a fully constructive interference and anything in between. But this is not what happens.
What is the correct way to have statement 1 fit with statement 2, so that a $U(1)$-invariant wavefunction can still exhibit the observable effects of $\Delta \phi$?