I am saying that is a possibility, if not for him than for someone in a similar hypothetical. Especially considering that organizations like the Taliban are still designated as a foreign terrorist organization, while also considered the legitimate leadership org of Afghanistan.
The point is that the criteria required for the government to label someone as a terrorist is subjective. Which is kinda important considering it means that after being labeled a terrorist the government is allowed to kill you.
that even if he knowingly was, that it's impossible to tell for anyone?
Even if you are knowingly associating with an org labeled as a terrorist organization, it does not mean the government can murder you. People interviewing Hamas and telling people of their experiences about the genocide are not automatically targeted by drones. American citizens working in Afghanistan are not considered terrorists because they work with the Taliban.