The following figure illustrates how the output, $Y(z)$, phase and magnitude vary with the input frequency, $\omega$, and pole location.
In Figure 1, drag the pole (x) on the z-plane to change the transfer function. Use the slider to change the input frequency. The input to, and output from, the transfer function are shown on the bottom graph.
Adjust the input frequency, $\omega$, and notice how the output amplitude and phase change. Then change the transfer fuctnion pole and repeat the process. Again, notice how the output amplitude and phase change as you change in input frequency.