Kafka uses the definite article "the" because it was not a simple metamorphosis. It was a specific changed that happened to the main character. Although it was not possible to happen in the real world, transforming into a giant moth represents the ultimate change that can happen to anyone.