Unless they turn out to be deceitful, duplicitous, or otherwise exceptionally wasteful, second guessing and/or judging their decision making process from the outside isn't likely to be a particularly fruitful endeavour for any of the parties involved.
If you want to explicitly target a very narrow case, you need to donate explicitly to that very narrow case. There are NPOs and charities that provide this kind of explicit service[0], for narrow targeted funding where you control exactly where your money goes. If you donate to an organisation with a broader mission, you shouldn't have any specific expectations of where that money is spent.
[0] e.g. https://www.donorschoose.org/
Do you want to make $10k a year for 5 years on something that costs you $2k? Buy a copier on ebay and lease it to a 501(c)3. That's why smart donors restrict funds.
Hell, X and Y don't even have to be all that different. Did you know Make-A-Wish doesn't grant wishes for hunting or fishing, while other charities do that exclusively?