Guys stop talking to me when either 1. they see i just want to be friends 2. find out i have a boyfriend. Why can’t we be friends? why does it have to lead to sex?

Guys stop talking to me when either 1. they see i just want to be friends 2. find out i have a boyfriend. Why can’t we be friends? why does it have to lead to sex?