i need answers ..

I’m 17, I randomly put on hijab on new year’s eve and felt really comfortable wearing it so I kept it on the whole week now ,thing is that I’m starting to get more attention from men in a very noticeable way and it’s really making me uncomfortable, ppl in general also started treating me better .somehow they’re being nicer than usual , the whole sudden change made feel weird esp the first part ,doesn’t it contradict the whole purpose of hijab ?