I’M BEING TOO NEEDY??

My boyfriend told me im being too needy. He told me to stop giving him gifts. It’s not like I give him things every day, I do only on important events like our anniversary. I only do that because I want him to be happy. I don’t understand what does that mean exactly to stop being needy, like what??? What should I do?