Guy friend invades my personal space and touches me in weird places. Is he attracted to me or just comfortable?

I was with my friend at school and leaned in front of him to put something in the sink. While I was bent over, he went over the top of me to put something in the trash touching his chest to my back. Basically like this:
Guy friend invades my personal space and touches me in weird places. Is he attracted to me or just comfortable?
He could have easily just walked around me and it was definitely an invasion of my personal space. We’re not touchy with each other and have only know each other for a few months so I don’t know he thought it was ok to do that. We tend to invade each others personal space a bit because we work together but a lot of the times he touches me it just seems unnecessary. He once had to slide past me and brushed up against my butt. Another time I was squatting on the counter to reach something and he started wiping the counter right underneath me (even though I had stepped on other areas) and he kept grazing my knees. He he also pressed his stomach against my hand while I was leaning on the counter like this:
Guy friend invades my personal space and touches me in weird places. Is he attracted to me or just comfortable?
He doesn’t touch me intentionally but the times he has were weird. He grazed my crotch and thigh/butt to demonstrate how when some boys were trying to grab people’s dicks and pickpocket people. He’s also patted my hip and poked my boob when he was trying to get my attention. Would a guy do these things to a girl he isn’t interested in?
Guy friend invades my personal space and touches me in weird places. Is he attracted to me or just comfortable?
Post Opinion