One difference is that Ukraine is an international, cross-border war of conquest - the kind that was outlawed after WWII and hardly happened since. Vietnam and Korea were civil wars where the US sought no territory. Afghanistan had a different motive, but no conquest was desired.