If you don't mind a layman's explanation, the first thing to understand is why the accretion disk is flat and that's a product of conservation of angular momentum, explained very well in this video.
If we begin with a flat, rapidly rotating (or orbiting) disk of very hot matter, too hot for electrons to stay bound to atoms, so it's both hot and electrically charged, you get gonzo magnetic fields, which (by a process I don't understand well) creates magnetic field files that extends in twists both above and below the disc, see pretty pictures:


So, as the matter from the disk tries to fall inside the black hole, if there's too much matter, it can't all squeeze inside at once because mostly, black holes are quite tiny and the pressure and magnetism shoots a lot of the matter back out, primarily through the middle of the magnetic field lines.
That's a kind of simple explanation anyway. Correction is welcome.