Gold with credit card?

I’ve seen so many people buying gold with credit cards, while everyone around me I see, seems to have their fixed local jeweller who will provide the same jewellery in cash for a cheaper price. I have always known that gold is cheaper when bought in cash because of obvious reasons.

So why are people buying gold with credit cards?