Guitar string going out of tune while playing

A good exercise is to start fretting the note while looking at your tuner. Find just the right pressure for the note to be in tune (which should just be when it starts to sound clearly) then see how much more pressure it takes to go sharp. Higher frets make it easier to push too hard and pull a note sharp.

I see two camps forming in this thread. One where it is a guitar problem and the other a player issue. I tend to blame operator error when I can, humans are like that. But I certainly could be wrong.