Why are credit card interest rates so high?

Why do we have to pay such high interest rates on credit card? In that case, wouldn’t it be smarter to make all our payments in full every month to avoid paying it?