Electrolytic capacitors have fairly large ESR values, and they're fairly constant across frequency. As the reactive impedance drops according to frequency, the total impedance becomes dominated by the ESR and you essentially have a resistor. The following figure from Murata shows this:
![Screenshot from Murata paper](https://cdn.statically.io/img/i.sstatic.net/5sqmP.png)
As you can see, the top curves show the results from a 10uF electrolytic. At 0.1k, the reactance is dominant, about 10X the ESR. By 1k, there's less difference, and by 10k they're essentially the same. Since the reactive component here is almost negligible, you have a voltage divider at this frequency, which doesn't introduce a phase shift.
Your cap goes through the transition earlier in the frequency range because 22uF is less than half the reactance of 10uf.