Why did landowners prefer slaves to indentured servants?

Slaves could be worked longer and harder and treated poorer than indentured servants, making them a financially better deal for the owners. In addition, as the laws changed, the children of slaves became slaves themselves. Indentured servants would move on when their debt was paid.