I believe the chicken arrived first because the egg is an object which is fragile and needs the care and heat of a chicken. The egg might've arrived from aquatic fish ancestral descendants, but when the chicken switched to the earth ambient, then It dropped eggs