Can my iphone accidentally click on an ad while it in my pocket?

I was listing to pandora and so i put it in my pocket then the music suddenly stop and play a different song. So i thought i might have click on and ad while it was in my pocket i didn't touch it tho i check it it was still at pandora.p. S how do i view my history from safari like my web data how do i go back thankx. Can they hack my credit card information and steal it if i click on an ad on my iphone please reply

Added (1). How do i view my web data again on my iphone from safari

No, the phone can't click on anything while it is in your pocket… You can't even use the touch screen with gloves on so there's no way your leg could do anything through your pants