This whole shambles started because David Cameron wanted to avoid losing an election to Labour due to UKIP taking votes away from the Tories.
The referendum vote comes through not overwhelmingly, but a win none the less for leave (52-48 in my opinion is not a large enough margin to legislate for a hard brexit, but anyway)
Then he pissed off because he doesn't care and we were left with May in charge - she triggered article 50 without knowing exactly what sort of deal she wanted (or the level of deal that would get through parliament) and put in charge of negotiations the absolute idiot that is David Davis.
Fast forward 2 years and we appear to be no further forward since the idiot Brexiters seemed to think Ireland would cave to the UK's demands without seeming to realise that they had the backing of the other EU countries now and weren't just on their own.
At least I take comfort in the fact that enough MPs seem to understand that No Deal would be catastrophic so that seems to at least be off the table.
With the red lines that the UK government want the only possible deal the UK can get is May's deal (which would undoubtedly lead to the breakup of the United Kingdom)
I honestly have no idea what happens next, but it's also clear that there's no consensus in parliament for any end result, so we're stuck in a state of political limbo and just have to hope for the best.