Studies to date on ferromagnet/d-wave superconductor heterostructures focus mainly on the effects at or near the interfaces while the response of bulk properties to heterostructuring is overlooked. Here we use resonant soft x-ray scattering spectroscopy to reveal a novel c-axis ferromagnetic coupling between the in-plane Cu spins in YBa2Cu3O7-x (YBCO) superconductor when it is grown on top of ferromagnetic La0.7Ca0.3MnO3 (LCMO) manganite layer. This coupling, present in both normal and superconducting states of YBCO, is sensitive to the interfacial termination such that it is only observed in bilayers with MnO2 but not with La0.7Ca0.3O interfacial termination. Such contrasting behaviors, we propose, are due to distinct energetic of CuO chain and CuO2 plane at the La0.7Ca0.3O and MnO2 terminated interfaces respectively, therefore influencing the transfer of spin-polarized electrons from manganite to cuprate differently. Our findings suggest that the superconducting/ferromagnetic bilayers with proper interfacial engineering can be good candidates for searching the theorized Fulde-Ferrel-Larkin-Ovchinnikov (FFLO) state in cuprates and studying the competing quantum orders in highly correlated electron systems.