Logical fallacy

Modal scope fallacy

The argument moves a term such as necessarily or possibly across a conditional or quantifier. The necessity of an implication does not make its consequent necessary on its own.

A wired wall switch next to an alternative setup with its detached wires

Examples

Necessarily, if the switch is in this circuit it is wired. The switch is in it today, so it is necessarily wired in every possible setup.
The conditional is necessary. The switch’s placement in the circuit is contingent, so the wiring does not follow across other setups.
Necessarily, every winner is a contestant. Lina won this race, so there is no possible world in which Lina is not a contestant.