The generation of occlusive thrombi in stenotic arteries involves the rapid deposition of millions of circulating platelets under high shear flow. The process is mediated by the formation of molecular bonds of several distinct types between platelets; the bonds capture the moving platelets and stabilize the growing thrombi under flow. We investigated the mechanisms behind occlusive thrombosis in arteries with a two-phase continuum model. The model explicitly tracks the formation and rupture of the two types of interplatelet bonds, the rates of which are coupled with the local flow conditions. The motion of platelets in the thrombi results from competition between the viscoelastic forces generated by the interplatelet bonds and the fluid drag. Our simulation results indicate that stable occlusive thrombi form only under specific combinations for the ranges of model parameters such as rates of bond formation and rupture, platelet activation time, and number of bonds required for platelet attachment.