Decrease in credit score

I’m confused. I paid off my credit card so why did my credit score decrease?!