A global phase is a unit-magnitude factor that multiplies an entire pure-state vector. The kets and describe the same physical state. Each measurement amplitude picks up the same phase, and squared magnitudes erase it.
For a qubit, and give the same statistics in every measurement basis. Multiplying only the amplitude by produces . That vector is orthogonal to the first state, and a measurement in the X basis distinguishes them with certainty.
An interferometer makes this difference concrete. A phase applied equally to both paths has no observable effect on their interference pattern. Applying the same phase only to one path changes their relative phase and can move a bright fringe to a dark one.
The same conclusion follows from the density operator. The phase on the ket is canceled by the conjugate phase on the bra, leaving intact. Measurements based on that operator therefore give identical predictions.