Where does the sound come from?

When a string is tuned, you are changing the tension.



When a string is fretted, for the most part, you are changing the length.