Lowered score

I just payed off my student loans, which closed that account. My credit score went down. Why?