Social conditioning.
This is one of those double standards we all accidentally buy into. It’s disgusting, really - a girl’s unreciprocated feelings for a guy are considered desperate, clingy, something you need to shake off your leg. A guy, on the other hand, is seen as determined, confident, passionate, someone who deserves a chance.