22.3Why substitutions work
Usually for one or more of these reasons:
- same function
- common tones
- similar guide tones
- smooth voice leading
- similar bass destination
- melody fits both
The more of those are true, the more natural the substitution tends to sound.