An abrupt transition of the interfacial exchange coupling from ferromagnetic to antiferromagnetic was observed in the interface of perpendicularly magnetized L10-MnGa/Fe1-xCox epitaxial bilayers when x was around 25%. By considering the special band structure of the MnGa alloy, we present a model explaining this transition by the spin-polarization reversal of Fe1-xCox alloys due to the rise of the Fermi level as the Co content increases. The effect of interfacial exchange coupling on the coercive force (Hc) and the spin-dependent tunneling effect in perpendicular magnetic tunnel junctions (pMTJs) based on the coupled composite were also studied. Changes from the normal spin valve to inverted magnetoresistance loops corresponding to the coupling transition were observed in pMTJs with MnGa/Fe1-xCox as an electrode.