This has always been my argument to this silly question.
Either at some point the last species before the chickens laid an egg and the first chicken crawled out of that egg, or... the chickens used to give birth to live babies but suddenly stopped that and started laying eggs for some reason, which feels far less likely.