I'd go further and say that in 2001 "the war" wasn't even that well defined. It seemed to be more about the action of attacking rather than any coherent vision. Iraq was at least up for debate, whereas Afghanistan was like well of course we need to attack them "back" how could you think otherwise?
Yeah. But there were a significant number of people who grew up seeing the Russians get beaten in Afghanistan, thought it was a decent lesson to learn without being involved, and then lo and behold, your country gets into a land war in Asia and gets to learn it for themselves.