Researchers have a new idea about why fish swim in schools.