Answer:
Fish need to be aerodynamic to move quickly. If they had legs they woulf be less aerodynamic and unable to get away from predators.