Why does blood clot when it is placed on a glass slide?

why the blood clots outside our body?suppose when its put on a glass slide or it drops in the ground,it clots.why?