This is a case of religion overriding rationality. If something beyond one’s control makes it impossible to follow a rule of the religion, then anybody with a mind knows that there is no personal responsibility for the outcome.
There is some rationality...
For instance, Israeli firefighters work on the Sabbath. Don’t know if they are “at work” on the Sabbath, but they do fight actual fires on the Sabbath.
The IDF can not take part in Sabbath during hot wars.