The simplest explanation is that Digimon can evolve along multiple paths. Just because the anime only showcased certain evolutions doesn't mean others don't exist—Digimon evolution branches out in many directions.
A good parallel is ExVeemon and Stingmon, who can DNA digivolve together into Dinobeemon. Gatomon's ability to reach both Magnadramon and Ophanimon is just another example of that branching potential.