I imagine there's a lot to go into it. For example, if it's a one-of-a-kind weapon with a long lead time to develop, they probably have a pretty low risk threshold.
Launch windows generally aren't open-ended and typically only last a few hours because they are orbit-dependent. That's why when a launch is scrubbed, a window often doesn't open again until days later.