Fr! Something like that has happened to me, actually, but I'm a lesbian. Some girl said to stay away from her because she didn't want me to fall in love with her, which I probably never would have. Later on we became friends and she kept saying not to kiss random girls and shit.
People like this are genuinely just hypocritical and dumb