Using the EAGLE (Evolution and Assembly of GaLaxies and their Environments) suite of simulations, we demonstrate that both cold gas stripping and starvation of gas inflow play an important role in quenching satellite galaxies across a range of stellar and halo masses, M-* and M-200. Quantifying the balance between gas inflows, outflows, and star formation rates, we show that even at z = 2, only approximate to 30 per cent of satellite galaxies are able to maintain equilibrium or grow their reservoir of cool gas - compared to approximate to 50 per cent of central galaxies at this redshift. We find that the number of orbits completed by a satellite on first-infall to a group environment is a very good predictor of its quenching, even more so than the time since infall. On average, we show that intermediate-mass satellites with M-* between will be quenched at 10(9) M-circle dot and 10(10) M-circle dot first pericenter in massive group environments, M-200 > 10(13.5) M-circle dot; and will be quenched at second pericenter in less massive group environments, M-200 < 10(13.5) M-circle dot. On average, more massive satellites (M-* > 10(10) M-circle dot) experience longer depletion time-scales, being quenched between first and second pericenters in massive groups, while in smaller group environments, just approximate to 30 per cent will be quenched even after two orbits. Our results suggest that while starvation alone may be enough to slowly quench satellite galaxies, direct gas stripping, particularly at pericenters, is required to produce the short quenching time-scales exhibited in the simulation.