Its to drain the blood from the fish so the flesh stays fresh and firm. If you don't do this right away the meat gets very blobby and loses the firmness. The bleeding is done through the gills but to get a clean cut they de-nerve the fish before so it doesn't flap around like crazy.