Gifts and their importance

Is a gift from someone a reflection of their feelings towards you? And the next question is, does the gift need to be something that the other person may like, or that’s not considered while gifting?

Why are gifts and their value important to some people and why do they attach their self worth to them?