Well, disallowing one to use its territory to supply troops somewhere and starting to supply terrorists are not the things of the same kind.
In fact it is a sovereign right of every nation to decide if they are allowing foreign military transit or not and most nations are disallowing by default which can’t be considered as a hostile act under any law.
Supporting jihadi terrorists is an illegal act in its nature and contradicts all the American interests as well.
The US supported jihadists (not al-Qaeda, or the Taliban, neither of which yet existed) in Afghanistan, fighting these very same Soviets, er, Russians.