Ostriches are too big for the coop. You can't incubate them in the incubator that comes with the coop, you need a special one.
you will get a crafting recipe for the ostrich incubator when you complete Prof. Snails museum tent. The ostrich incubator must be placed in a barn.