If a creature is an astronaut if it likes mud and every pig likes mud, then every pig is an astronaut.
Saying that if a creature cannot fly then it is not an astronaut is the same as saying that all astronauts fly. Since all pigs are astronauts, pigs can fly.