Question: what happens when a baby bird dies in the nest?
Answer: Generally, yes. They instinctively know that a decomposing dead baby will attract scavengers and insects. If you find a dead baby bird under a tree or bush it's usually one that died in the nest and was pushed out. Eggs that don't hatch are generally left where they are, although some birds push these out as well.