What causes blood thickening?

Do you mean in the sense that it would cause blood to clot?

Blood clots and doesn't clot due to something being wrong with clotting factors in the body... wether it be absence of one or possibly something wrong with another.