This is not even the same Department. A government can and should have multiple simultaneous priorities.
A government also can and should prioritize amongst multiple simultaneous priorities.
They do. That's why governments have different departments (DHS and DOT in this case) and associated, prioritized budgets.
No I am talking about more directly. As an obvious example, in wartime everything goes to support the defense of the nation and is shifted to support that goal.