It is equally baffling why the Tories voted Johnson as Leader, why the Labour Party voted for Corbyn (and now Starmer) and in the USA why the public voted for Trump. There is something odd going on in political parties as to why they vote for such unsuitable leaders.
As for the voting system I think if you look back in history more people voted for the Tories than Labour even when Labour won elections. It's the system.