Because they are in they water the fish has a gene that gets passed down to their offspring and without that gene they would die however humans do not need to swim to survive so God left that gene out making swimming for a human a trait that has to be learned.