If you google for any schooling fish sp. which dwels mid and top range of the tank. you'll read nothing but how well they can jump.
Lots of poeple had this experience, i guess in majority the fish are not to blame..
Of course all fish can jump and some times the risk of any sp. eventualy will one time.. i've had an Ember jump, a Black Tetra jump and even an Oto jump. The black tetra was the only lucky one jumping in my lap.. An educated guess, fish that by nature stay at the surface region of the tank are most likely to do so, after all the are closed to the surface (Like danio's). Others, mid and bottom region only when triggered by external factors. One is already given and that is bang lights on full power from total darknes..
Other factors could be other agressive fish chasing each other and scaring the others.
Take a look at Amono's galery, nothing but open top tanks and loads of so called notorious jumpers..
My best guess is, do research about fish and their behaivor.. Or, (even better, but that's how i do it if i don't know already) buy not everything at the same time.. Start with one sp. see their behaivor for a while and decide from there which other sp. could be added.
I might add, lay out of hardware and plants also play a role, obviously..