Why did my friend's boyfriend touch my knees?

I was sitting on a high chair (his girlfriend wasn't with us) and I was talking and laughing with him then he came close to me and put both of his hands of my knees while talking. I don't know I just found it weird or am I overthing it?
Why did my friend's boyfriend touch my knees?
Post Opinion