I dont understand this puzzle move

Sort:
OXOXOOOXOOXOXO

Puzzle, black to move.

First move is supposed to be d8 (in red).

That is "quite" obvious if you know that the next white move is ke2.

Unfortunately I dont get it happy.png

But why would the king go e2 and not elsewhere ? (For instance if king c2)

Thanks

Jalex13
The rook and plays d8+ to get out of the pin by whites rook on d1. After ke2 black can take the bishop.
jdwills29

All the king moves lose because no matter where the king goes you just take exf4 and you are up material.