It is because, you have not learnt to say NO.
Maybe, you had been told, that you should respect others, you should not hurt others feelings, and all that.
In the meanwhile, you would have started believing that being given good is the only factor, to be liked by everyone.
The more you learn to practice to say and do what you wanted, the enter you become.
Next Steps
For more clarity, do visit a psychologist in your city or online.