The guitar is a string instrument tuned differently to the clarinet, a woodwind instrument. So notes played will come out with different pitches.