You have indeed hit upon a good point.
I am reading many of the comments here with a lot amusement. Perfect marriages between the clueless and the patronizing. So many efforts have come and gone: (i)hey you 3rd world person here take this money build a proper toilet, (ii) hey Indian govt here's some aid for toilet for your people, (iii) hey my brother we built these toilets for you, now use them, (iv) govt gave us money to built them so we did it for you... and on and on in so many variations.
There is a strong urge to believe in the narrative: oh the poor souls if only they had access to the toilets that they have yearned for things would be all right. Lets build them for them, lets raise money etc. Yes its true for many people, but it is also very untrue for many.
Just as the a one size cancer cure is silly notion (because cancer is not a single thing) there is no such easy one dimensional cure here either. There is a lot of understanding that needs to take place before this is solved.
Some people break open toilets constructed for free, by the govt or a charity, in their house and sell of the bricks. Why ? because they think a toilet in the house makes it impure and dirty. No worries about that tied cow that shits with gay abandon inside that very house, that is clean holy godmother. Heck the current govt is getting social security cards for cows (I am not kidding). Some will fight tooth and nail for their habit of defecating in the open. They don't see a problem with that. Disease ? what disease, that's just bad karma.
Political parties play into this as well. Right now one party is big into "swachchh(clean) Bharat". A move sorely needed and something I strongly support. But when this same party was not in power, they were big into propaganda: toilets are a 'foreign influence', a 'theft of tradition'. Open defecation has been how it has been done and god almighty in the name of tradition and patriotism that's how it would be. Break free from your toilets if you are a patriot ... etc etc. resist rule by the Italian.