Most likely this behavior was you becoming too clingy, needy or overly invested. In these scenarios, constantly texting and pressuring a person to meet you will only push them further away.

If this is a reoccurring problem for you, then you are either not creating enough attraction or are overly investing in people who have little investment in you. People will make time for those that they really want to see.

Work on becoming a better version of yourself that other people want to spend time with. Don’t make another person the primary focus on your life. A girl wants to join a life that already has cool things going on in it. They don’t want to be the best thing in your life.

If a person is pulling back, it means that they want some space. So give them what they want. If they repeatedly turn you down or cancel on you, don't continue to chase but instead leave the ball in their court. Tell them its up to them to get back to you when they have availability and to propose an event.

Full video on topic: https://youtu.be/yfkYHwEhqhY