Yes. Pitch is determined by vibration frequency. Smaller, lighter, or tighter vibrating elements (strings, air columns, membranes) vibrate faster, producing higher frequencies and thus higher pitches. Example: a shorter, thinner guitar string vibrates faster than a longer, thicker one, yielding a higher note.