Not difficult to see why when both parties have implemented policies that have become very unpopular with the masses. You're not gonna win voters on "let them eat cake" policies when the no. 1 concern of voters is keeping their job and affording the ever increasing bills.
Both left and green parties have been writing cheques that the working class had to cash, so now they're experiencing the backlash consequences of their actions. It's just democracy at work.
They need to "git gud" and give the people what they want if they want votes. It's really not rocket science, but self reflection seems to be heavily lacking in politics due to how detached the ruling class are from the working class.