A friend told me, during a 3 minute discussion, that viruses that are endemic in host $A$ and make repeated jumps to host $B$ but can't be transmitted between individuals of species $B$, may slowly adapt (through these repeated jumps) to be able to be transmitted between individuals of host $B$ and become epidemic.
I don't know much about epidemiology. I don't understand how a virus population that is endemic to host $A$ may adapt to host $B$ with repeated jumps while the viruses that jump to host $B$ are dead end because they cannot be transmitted further more. Or Are these viruses able to jump back to host $A$ to bring back their newly acquired adaptations to host $B$?
Also, I might misunderstand the meaning of "repeated host jumps transmission". I first thought it meant repeated jumps from a reservoir population in host $A$ to host $B$, but it is also possible that it describes the dynamic of a virus population that is adapted to jump from species to species and they actually gain this ability by keeping jumping and jumping. But then, how could a virus species get adapted to jump from species to species? I'm a bit confused…. Can you give me some hints about this process of cross-species transmission through repeated jumps?