Sometimes they are just people looking for someone to flirt with. But I think a lot of the time it's just that some people find it easier to relate to specific genders. I mean, there are some things that I struggle with that I might prefer to talk to a girl, other times I think a guy may be easier. It depends. However, I will talk to either, so long as the person is genuine, kind and not talking to me for the wrong reasons, it's fine.