Answer
See explanation.
Work Step by Step
The fundamental frequency of a vibrating string is given by equation 15.35.
$$f_1=\frac{1}{2L}\sqrt{\frac{F}{\mu}}$$
By pressing the string against a fret, the guitarist decreases the length L of the vibrating portion. The fundamental frequency increases, i.e., the new note has a higher pitch.