Amazon Interview Question

They asked questions on projects. "why did you use a certain machine learning algorithms, and why not another one?