Some cat breeds are more receptive to pets and hugs than others. The Siamese, for example, is a playful and fun-loving breed that will demand attention from you, as will the affectionate Ragdoll.
Don't be alarmed if your cat resists physical attention. It may just be part of their personality or upbringing. If a kitten isn't socialized with humans at an early age, they may be reluctant to accept affection. They may also need more coaxing if you adopt them as an adult and don't know their backstory. You can acclimate your kitty using some of the strategies above, but some cats simply don't enjoy being picked up, preferring to be a nestle-next-to-you cat instead of a lap cat.
Building trust is a gradual process in any relationship. When you invest your love and affection, you'll be rewarded with a feline best friend (and maybe even the opportunity to give a belly rub).