That right there is a prime example of “nice guy(in this case girl) syndrome”, where you think that other people owe you love or affection because ‘you’re such a nice guy(/girl)!’
You feel that you can treat other people like a store, where you put in X amount of favors and good deeds, in exchange for love, appreciation, and affection