UP Colorado/Wyoming Routing

How does UP determine their routing, whether to put something through their overland route in wyoming or go through the Moffat tunnel in CO? I’m assuming that the Moffat still gets through traffic and not just locals… or am I incorrect there?