Why would he hug me twice in a row?

I started wearing warm vanilla sugar perfume to school. It smells like vanilla, obviously, and is quite discreet, unless you stand close to me. I put some on my wrists and on the back of my neck, where it's known to last longer. I gave him a little gift from P. E. I and he thanked me, gave me a hug then hugged me once more in the next minute. Do you think maybe it's because he really appreciated the gift or he wanted to inhale my scent, (if that isn't too weird)?
Haha this must sound silly, but I'm curious. :D
Why would he hug me twice in a row?
Post Opinion