Chess puzzles are not chess.
White to play and mate in two moves, means:
There are approximately 20 possible moves for white's first turn (depending on the chess puzzle). 19 of these are objectively wrong.
There is exactly 1 possible move for black's first turnBlack has no genuine choices, and black takes that move- all possible moves put white in a 'mate in 1' situation.
There are approximately 20 possible moves for white's second turn (depending on the chess puzzle). 19 of these are objectively wrong.
Chess puzzles are about working out which of 400 possible outcomes is acceptable to the author. There is no freedom, no choice. You can conform, or be wrong.