Argumentum ad baculum
From Religions Wiki
Argument from force. A threat of punishment for not believing the right thing.
This is an emotional argument, not a logical one. The person making the threat is making no argument for the truth of their belief. This fallacy is related to the argument from adverse consequences (the adverse consequence in question being punishment).