Logical fallacy
Genetic fallacy
A claim or practice is judged solely by where it came from, who originated it, or why it arose. Its origin substitutes for an assessment of whether it is true, sound, or useful.
Examples
The method began as a game, so its mathematical proof is invalid.
That idea was proposed by our rivals a century ago, so it cannot be right now.