The anthem is a song. The flag is a piece of cloth. Their significance is what they represent.  Until the late 1860's the flag represented constitutionally entrenched slavery of black Americans.Now it represents a society where de facto racism still persists to a great extent.
Taking a knee to make that point seems pretty benign to me.