Organised crime
Hate to break it to you, but it's not legal in the Netherlands, there's no legal way to grow it, and most of the coffee shops are either owned or controlled by some form of OC. They also use the coffee shops (and legal prostitution) to launder dirty money too.
Legalisation doesn't get rid of the criminals.