When Afghans took up arms against occupying American soldiers, they were routinely called terrorists in American press and media.
When Muslims fight America or Israel, they are called terrorists. When the situation is reversed, that label isn't applied.