The situation would be more like, there is a forced checkmate in 12 but it involves navigating a sharp position that is complex and any miscalculation could equalize the position.
On the other hand, you can simply exchange queens and rooks and have a clear winning endgame, but it will only result in a checkmate in 20 moves.
Almost any human would opt for the latter to avoid the risk. From the computer's perspective, there is no risk.