This mostly happens on a accident and it's only on boys. Its a little act of when you squeeze your balls/testicals with your legs. It Happens! (Happened to me once)
The act of spending time with and talking to a girl on a consistent basis in order to build up her affection towards you, in hopes to raise the chances of success in asking her out