For the last ~9 years, I've helped run a homeless shelter based out of a church in London, UK. We often get offered donations of clothes and unfortunately we have to turn them down unless we know of guests who need those specific items (e.g. men's 32-34" waist trousers or a pair of size 10 shoes). This is because otherwise we find that very few items get taken and we don't have space to store them, so it just means we have to take them to a charity shop anyway.
Please don't be upset by your offering not being accepted - it can be hard to find the right place to use it and, if the organization is run by volunteers (as the one above is), they might not have the time to manage this.
Incidentally, other shelters operate very differently from ours, and some definitely do accept clothing donations.
It is, however, unfortunately not universal. I recently tried to drop off some extra Christmas toys I had mistakenly ordered on Amazon to a local Catholic church and they absolutely refused to take them and distribute to a needy family. I was floored.