They were all elected by the voters in their constituencies, the same as every MP, and chosen as the leader of their party by the party members, the same as every PM.
I’m a cyclist in the UK and you’re totally right. Enforce the laws against those uninsured electric motorbikes constantly riding on paths and ignoring every law possible as well.