Showers typically have a flow reduction to save water. It may have started to plug up a little causing even more reduction, thus the squealing sound. If on city hookup, the pressure may be surging at times, causing a noise in the system.
Depending on the cause, it may help to drill out the reducer a little, or remove it, if saving water is not an issue.
Jerry