EDIT Ok so it’s just the trolly problem.
EDIT2 : AHA War Games 1983. “The only winning move is not to play.” (We might call this the final product of a lot of smart philosophical digestion, because it’s a famous movie). There’s always the perfectly valid option to ditch the riddle. (Because maybe the riddle is dumb, or maybe the riddle is no better than a thousand others, utilitywise )
The core of the riddle is that it is an ultimatum.
https://en.wikipedia.org/wiki/Ultimatum
Ultimatums have been debated historically, in great detail. For example, in the old testament of the bible.
https://www.bibleoutlines.com/isaiah-361-377-dont-make-a-deal-with-the-devil/
Even if one is not religious or cares not for reading biblical stuff, it is simplified effectively as such:
If given only 2 choices, it is never fair. Find another choice.
I think that’s a different thing.