It's quite simple. The EU can't tell member states how much to tax and even if you cut out all of its budget you'd save maybe a percentage point or two in taxes
On the other hand the EIB (which is anyway not directly controlled in their executive actions by the EU) can grant funds since it's kind of it's role as an investment bank
On the other hand the EIB (which is anyway not directly controlled in their executive actions by the EU) can grant funds since it's kind of it's role as an investment bank