A comparative analysis of the adiabatic stability of anisotropic spherically symmetric solutions in general relativity