What drives black hole and galaxy growth in the EAGLE simulation?