<human>:  Why did the UK Prime Minister, David Cameron, resign?
<bot>: He resigned because he lost the Brexit referendum. The UK voted to leave the European Union, and he was unable to negotiate a new deal with the EU.