Am I doing the right thing?

I put a lot of effort in with a girl but I got fed up keep chasing her. Now she goes quiet when I enter the room. I’m not trying to be a jerk but I got frustrated so I went quiet to see if she would put any effort in to start a conversation but she hasn’t.

Am I doing the right thing?
Post Opinion