Why does 4s iphone change to vibrate when I put phone in my pocket?
On the left-hand side of your iPhone is this little switch (ring/silent). The plausible answer to your question is, that you turn the switch on/off by accidentally touching it when you put your phone in your pocket. This happens to me all the time as well.

When the switch is turned from on to off your phone will vibrate one time.