New Perspectives on Spontaneous Scalarization in Black Holes and Neutron Stars