Most surface dwelling fish jump because they live up the top of the water column. If something swims up towards them and attacks them they have nowhere else to go except up and out of the water.
What are the tank dimensions (length x width x height)?