Good point. The same thing definitely happens in physics too. For example, people attributed important advances in mathematical physics (such as the mean speed theorem) to Galileo despite them having been already developed extensively in the middle ages.