I have to agree with BobbiSue, this really might be part of off-topic. But having said that, I think it is kind of capitalistic non-sense. Like when you used to have to pay to use a public toilet. Yes, for those who don't know, that was a thing and real at one time.
But the fact is that if you live in a "civilized" country, and not out in the woods where you can just find a handy tree, then people have to go somewhere to do what they have to do. Otherwise you are going to find this "do" everywhere as it isn't something you can just stop from happening. As a taxpayer, I would rather pay for some places for people to take care of this essential need than having to pay to clean it up.
Trust me, I know more than I am willing to share that putting in public toilets is an "investment" as it lowers the expense you might incur from paying for the alternative. And I would rather have people's deposits in the sewer bank than toilet paper blooms around everywhere.
Nothing socialist here, rather more capitalistic in cost vs expense. Put in a toilet and incur the expense or pay double or more in cleaning up what could have been prevented.
I happen to live in a very rural area, so public toilets aren't as much of a necessity. There are some really good trees and isolated areas around. But even so, I would rather have public deposits in one place rather than coming across them in an otherwise beautiful morning hike.