what if the pre-chicken didnt lay eggs and it was a trait obtained (or re-obtained i guess b/c t-rex) through evolution
everything beyond the very basic concept of life was gained through evolution
the egg-laying method of birth is one of the branches taken by life, i sincerely doubt there's any case of such a complex process being eliminated and then independently re-evolved