It's not the dealer, it's the manufacturers.
They started a price war and companies like Tesla and Chinese brands aren't really interested in their used prices, so they are burning their used car market in this price war.
There's also the market adjusting to increased supply, cheaper battery...