At the risk of being downvoted, I will try to explain what is the difference.
The farmers and their union planned and informed the Police about the protests with time in advance. The menure and the demonstrations might not be part of that but I do not know. Germany does respect the right to protest.
On the other hand, the climate protesters did not share their plans with the police and caused some property damage. But more than that they put themselves in danger, as some of them glued their hands.
I'm all in for the climate as well as for the farmers.