Bro,
God also does not deliberately cause His pp to stumble. He knows we are weak, so why would He put a half naked woman before us, and then expect us to come to the end of ourselves?
God tells us to love one another, to look out for one another, not stumble one another. If you know your action has repercussions on another person's life, (in this case there is a likelihood some boys might masturbate to the thought of HYS), then avoid it at all cost.
God never denies that man has unclean thoughts. In the bible, it's clear again and again man has lustful thoughts. But we are to repent, change our mindsets, not reinforce them. And one way is to not act out these lustful thoughts, or literally run away from situations that will provoke you to act negatively.
Jesus teaches us to exalt one another, build each other up, not create circumstances where we face the possibility of being trapped.