Did people vote for her, or did they vote for her party? Does the party pick the President?
The German Chancellor is not elected by a popular vote of citizens. He/she is chosen by German legislators.
An American analogy would be the Speaker of the House as the Chief Executive.