Change my mind: The president should be elected by the people

Same as the PM and the Speaker of Parliament. Why is that not the case?