You know people always say women get attracted to men who give them gifts, but sometimes that's not the case. At times it is the heart that counts. It's hard to know for sure when a guy is truly in love with a girl. They could be communicating something different when the whole time we are thinking that they are in love. In your case this guy could be in love with you but he is just scared to say it for out loud, for fear of being rejected, and he looks bad in front of his friends. There could also be another reason for him to do those things, sometimes men can do things to women that can be very hurtful, they may not know it, but for some reason they still go ahead and do it. He could be doing this because he had a bet with his friends that he could win you over that's why he is not accepting that he is courting you, he probably has a girlfriend elsewhere, so he has to play his cards right or he fails on the bet. You must be very careful with this kinds of boys or you may fall into his trap. For now just go with the flow, you don't always have to receive the gifts, sometimes decline his offers and see how far or how long he will keep up with it. He will eventually give up and throw in the towel.