Doodle dies at the end of "The Scarlet Ibis" as a result of his brother's pride. The narrator pushes his brother to walk and run so that he can keep up with the other school boys. While this may seem like a selfless act initially, the narrator admits it was done out of embarassment that his brother was crippled.
It is clear that Doodle died when the narrator "placed his hand on his [Doodle's] forehead" and "limply, he fell backward onto the earth." The reference to the blood coming from Doodle's mouth and staining his shirt red reminds the reader of the scarlet ibis's death. Like Doodle, it tucked its legs under itself in death. The narrator covers the body and refers to Doodle as his scarlet ibis and cries as he shelters the body from the rain that covers them. The rain emphasizes the mood of sadness when Doodle dies.