The short answer
Dodos were not killed for one reason. Sailors hunted them for food, animals that came with people ate their eggs and chicks, and forests were cleared where the birds lived. Scientists see these pressures working together, so no single cause explains the whole story.
Hunted for food
Sailors who stopped at Mauritius hunted dodos because they were easy to catch and provided fresh meat. Some accounts describe hunters bringing back as many as 50 birds at a time. Birds that could not be eaten right away were sometimes salted so they would keep for the voyage.
Why dodos were easy to catch
Dodos had no land predators on Mauritius, so they had no reason to fear people. They could be approached and caught, and the same lack of fear that made them tame also made them easy targets.
The dodo often comes up when people ask which bird is reckoned to be stupid. Popular culture often describes it that way, but that view is not a fair one. Its tameness came from its island home, not from low intelligence.
Animals brought by people
Pigs, dogs, cats and rats came ashore with sailors and settlers, and monkeys may have arrived too. These animals ate eggs and chicks and trampled nests on the ground. Some researchers think rats also competed with the birds for food. The dodo nested on the ground and had not evolved defenses against animals like these.
Losing the forest
Forests were cleared for farms and plantations, which removed much of the woodland where dodos lived and nested. Some researchers have linked the loss of this woodland to the bird’s decline. With less forest, there was less room for the birds and less cover for their nests.
Why one cause is hard to name
Experts disagree about how much each factor mattered. Some place more weight on hunting, while others point to introduced animals as the most important pressure. Most agree that the causes worked together. The dodo laid a single egg per female in each breeding season, which may have made it slower to recover from losses.